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_comp_level 6;
gzip_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml; gzip_types text/plain text/css text/xml application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
# location / { location / {
# root /srv/spacerace; root /srv/spacerace;
# index index.html; index index.html;
# 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