diff --git a/docker-compose.yml b/docker-compose.yml --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ volumes: - "./nginx.conf:/etc/nginx/nginx.conf:ro" ports: - - 5080:80 + - 5080:5080 # Scheduler diff --git a/nginx.conf b/nginx.conf --- a/nginx.conf +++ b/nginx.conf @@ -15,7 +15,9 @@ resolver 127.0.0.11 valid=30s; server { - # Add a trailing slash to top level requests (e.g. http://localhost/flower) + listen 5080 default_server; + + # Add a trailing slash to top level requests (e.g. http://localhost:5080/flower) rewrite ^/([^/]+)$ /$1/ permanent;