Loading hosts/osuosl5-amd64/etc/nginx/nginx.conf +5 −7 Original line number Diff line number Diff line Loading @@ -21,15 +21,13 @@ http { autoindex on; } location /api { rewrite /api(.+) $1 break; proxy_pass http://127.0.0.1:5001; location ~ /api(.*)$ { proxy_pass http://127.0.0.1:5001/$1; include proxy_params; } location /rebuilder-snapshot/api { rewrite /rebuilder-snapshot/api(.+) $1 break; proxy_pass http://127.0.0.1:5001; location ~ /rebuilder-snapshot/api(.*)$ { proxy_pass http://127.0.0.1:5001/$1; include proxy_params; } Loading Loading
hosts/osuosl5-amd64/etc/nginx/nginx.conf +5 −7 Original line number Diff line number Diff line Loading @@ -21,15 +21,13 @@ http { autoindex on; } location /api { rewrite /api(.+) $1 break; proxy_pass http://127.0.0.1:5001; location ~ /api(.*)$ { proxy_pass http://127.0.0.1:5001/$1; include proxy_params; } location /rebuilder-snapshot/api { rewrite /rebuilder-snapshot/api(.+) $1 break; proxy_pass http://127.0.0.1:5001; location ~ /rebuilder-snapshot/api(.*)$ { proxy_pass http://127.0.0.1:5001/$1; include proxy_params; } Loading