From c2eb6137aebe59a741b27c416e1842a675de2116 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 25 Nov 2022 14:38:36 +0100 Subject: [PATCH] Fix nginx sample config --- nginx.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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... }