diff --git a/docker/docker-compose/default/nginx.conf b/docker/docker-compose/default/nginx.conf index 4e145f5b..ff91729a 100644 --- a/docker/docker-compose/default/nginx.conf +++ b/docker/docker-compose/default/nginx.conf @@ -78,7 +78,7 @@ http { # Only allow all methods (GET,POST,PUT,etc..) for root (/pgapi). # see https://github.com/bpatrik/pigallery2/issues/214 - location /pgapi { + location /pgapi { # NOTE: no ending '/' as it would forward /pgapi to / proxy_pass http://pigallery2:80; # forwarding to the other container, named 'pigallery2' proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; diff --git a/docker/docker-compose/with-mysql/nginx.conf b/docker/docker-compose/with-mysql/nginx.conf index 437e2931..eaf410e5 100644 --- a/docker/docker-compose/with-mysql/nginx.conf +++ b/docker/docker-compose/with-mysql/nginx.conf @@ -77,7 +77,7 @@ http { # Only allow all methods (GET,POST,PUT,etc..) for root (/pgapi). # see https://github.com/bpatrik/pigallery2/issues/214 - location /pgapi { + location /pgapi { # NOTE: no ending '/' as it would forward /pgapi to / proxy_pass http://pigallery2:80; # forwarding to the other container, named 'pigallery2' proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;