From 0347ebb1bf94e580ffdbbe3b67bea345ed37a0b2 Mon Sep 17 00:00:00 2001 From: ntr Date: Mon, 4 Sep 2023 20:54:03 +1000 Subject: [PATCH] srv/spacerace --- nginx/spacerace.systems.nginx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx/spacerace.systems.nginx.conf b/nginx/spacerace.systems.nginx.conf index d5c3aa4..84b0966 100644 --- a/nginx/spacerace.systems.nginx.conf +++ b/nginx/spacerace.systems.nginx.conf @@ -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