Fix nginx sample config

This commit is contained in:
Jonas Platte
2022-11-25 14:38:36 +01:00
parent a0876f81c1
commit c2eb6137ae

View File

@@ -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...
}