srv/spacerace

This commit is contained in:
ntr committed 2023-09-04 20:54:03 +10:00
1 parent 1601fac5b7
commit 4e81f8c528
1 file changed
+5 -5
+5 -5
View File
@@ -16,11 +16,11 @@ server {
gzip_comp_level 6;
gzip_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
# location / {
# root /srv/spacerace;
# index index.html;
# try_files $uri $uri/ index.html;
# }
location / {
root /srv/spacerace;
index index.html;
try_files $uri $uri/ index.html;
}
location /api/ {
# trailing slash means api will receive url WITHOUT /api