1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Adding comment to avoid ending '/' at /pgapi #590

This commit is contained in:
Patrik J. Braun 2023-01-13 14:10:01 +01:00
parent 87d6346c7a
commit 991c96c2fe
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ http {
# Only allow all methods (GET,POST,PUT,etc..) for root (/pgapi). # Only allow all methods (GET,POST,PUT,etc..) for root (/pgapi).
# see https://github.com/bpatrik/pigallery2/issues/214 # 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_pass http://pigallery2:80; # forwarding to the other container, named 'pigallery2'
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;

View File

@ -77,7 +77,7 @@ http {
# Only allow all methods (GET,POST,PUT,etc..) for root (/pgapi). # Only allow all methods (GET,POST,PUT,etc..) for root (/pgapi).
# see https://github.com/bpatrik/pigallery2/issues/214 # 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_pass http://pigallery2:80; # forwarding to the other container, named 'pigallery2'
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;