try fixing subpath proxy

This commit is contained in:
Collin M. Barrett 2019-09-02 15:36:24 -05:00
parent cb2f6b14da
commit 77ea340097

View file

@ -21,8 +21,10 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location ~ ^/ {
proxy_pass http://web:80;
location / {if (!-e $request_filename){rewrite https://$server_name break;}
location / {
proxy_pass http://web:80/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;