summaryrefslogtreecommitdiff
path: root/frontend/nginx.conf
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-27 23:08:12 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-27 23:08:12 +0100
commit45c3adb6fdfed5c191d8a14562eaabbd54c5c91b (patch)
tree739308156e6c92e900a94e69c8acaf0b612640fb /frontend/nginx.conf
parent70026cebc0fd20b660cafe0bf95d0eea73459de2 (diff)
Split prod and dev config for Docker Compose
This change splits the Docker Compose configuration into three files in order to share the configuration for different environments (e.g. development and production). Furthermore, this change drops the requirement for a reverse proxy.
Diffstat (limited to 'frontend/nginx.conf')
-rw-r--r--frontend/nginx.conf17
1 files changed, 0 insertions, 17 deletions
diff --git a/frontend/nginx.conf b/frontend/nginx.conf
index ed7e5cfe..1b4e3a73 100644
--- a/frontend/nginx.conf
+++ b/frontend/nginx.conf
@@ -8,23 +8,6 @@ server {
try_files $uri $uri/ /index.html;
}
- location /socket.io {
- proxy_http_version 1.1;
-
- proxy_buffering off;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "Upgrade";
- proxy_pass http://api:8081/socket.io;
- }
-
- location /tokensignin {
- proxy_pass http://api:8081/tokensignin;
- }
-
- location /api {
- proxy_pass http://api:8081/api;
- }
-
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;