nginx api fix

This commit is contained in:
ntr committed 2023-09-04 19:11:53 +10:00
1 parent 5110e57b8b
commit 2f4492c407
1 file changed
+2 -2
+2 -2
View File
@@ -22,9 +22,9 @@ server {
# try_files $uri $uri/ index.html; # try_files $uri $uri/ index.html;
# } # }
location /api { location /api/ {
# trailing slash means api will receive url WITHOUT /api # trailing slash means api will receive url WITHOUT /api
proxy_pass http://spacerace_server; proxy_pass http://spacerace_server/;
proxy_read_timeout 600s; proxy_read_timeout 600s;
} }