front marche sur localhost/

This commit is contained in:
trochas
2026-02-12 12:24:46 +01:00
parent 1c3ee99b74
commit bfc2253a27
2 changed files with 7 additions and 14 deletions

View File

@@ -16,10 +16,6 @@ services:
build:
context: ..
dockerfile: dockerfiles/front/Dockerfile
ports:
- "5000:5000"
- "5080:80"
volumes:
- ../doodlestudent/front:/app
environment:

View File

@@ -17,15 +17,6 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
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/ {
proxy_pass http://etherpad:9001/;
proxy_http_version 1.1;
@@ -39,6 +30,12 @@ server {
# FrontEnd returns
##########################
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 "";
}
}