Commit 8ac6e4d4 by Chif Gergő

Fix volume name in docker-compose prod, and typo in nginx conf

parent c92b8619
Pipeline #1323 canceled with stages
in 0 seconds
......@@ -7,7 +7,7 @@ upstream wsbackend {
}
upstream frontend {
server frontend:80
server frontend:80;
}
server {
......@@ -36,12 +36,12 @@ server {
}
location /ws/ {
proxy_pass http://wsbackend;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
proxy_pass http://wsbackend;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
location /staticfiles/ {
......
......@@ -7,7 +7,7 @@ services:
ports:
- "80:80"
volumes:
- "/static:/static"
- "/staticfiles:/staticfiles"
networks:
- backend
restart: on-failure
......@@ -39,7 +39,7 @@ services:
expose:
- "8000"
volumes:
- "/static:/static"
- "/staticfiles:/staticfiles"
depends_on:
- db
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment