diff --git a/docs/guide.md b/docs/guide.md index 80d01ddca74b..6aeea7ffc8df 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -198,7 +198,7 @@ At this point, you should be able to access code-server via listen [::]:80; server_name mydomain.com; - location / { + location ^~ / { proxy_pass http://localhost:8080/; proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade; @@ -575,7 +575,7 @@ At this point, you should be able to access code-server via listen [::]:80; server_name mydomain.com; - location / { + location ^~ / { proxy_pass http://localhost:8080/; proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade;