diff --git a/nginx.conf b/nginx.conf index 668ba17..2431288 100644 --- a/nginx.conf +++ b/nginx.conf @@ -4,10 +4,8 @@ server { # # server_name whatever.tld; - # index.html stored in /srv/http/whatever.tld/secret-santa/index.html - location /secret-santa { root /srv/http/whatever.tld; } # app running on localhost with the port hardcoded in main.rs - location /secret-santa-api/ { proxy_pass http://localhost:3067/secret-santa-api; } + location /secret-santa/ { proxy_pass http://localhost:3067/; } # SSL config... }