Merge remote-tracking branch 'refs/remotes/origin/Etape1' into Etape1
This commit is contained in:
@@ -16,10 +16,6 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: dockerfiles/front/Dockerfile
|
dockerfile: dockerfiles/front/Dockerfile
|
||||||
|
|
||||||
ports:
|
|
||||||
- "5000:5000"
|
|
||||||
- "5080:80"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ../doodlestudent/front:/app
|
- ../doodlestudent/front:/app
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
17
nginx.conf
17
nginx.conf
@@ -17,15 +17,6 @@ server {
|
|||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Connection "";
|
proxy_set_header Connection "";
|
||||||
}
|
}
|
||||||
location /web/ {
|
|
||||||
proxy_pass http://front:5080/;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header Connection "";
|
|
||||||
}
|
|
||||||
location /pad/ {
|
location /pad/ {
|
||||||
proxy_pass http://etherpad:9001/;
|
proxy_pass http://etherpad:9001/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
@@ -39,6 +30,12 @@ server {
|
|||||||
# FrontEnd returns
|
# FrontEnd returns
|
||||||
##########################
|
##########################
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
proxy_pass http://front:80/;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header Connection "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user