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:
parent
87d6346c7a
commit
991c96c2fe
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user