forked from mirrors/gotosocial
[docs] Remove trailing / from proxy_pass for nginx (#1077)
The trailing / can break relative URLs.
This commit is contained in:
parent
45ae719bd9
commit
c964856927
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ server {
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name example.org;
|
server_name example.org;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:8080/;
|
proxy_pass http://localhost:8080;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
Loading…
Reference in a new issue