This commit is contained in:
Jonas Platte
2022-11-10 19:02:25 +01:00
commit f92b5c56ff
6 changed files with 974 additions and 0 deletions

13
nginx.conf Normal file
View File

@@ -0,0 +1,13 @@
server {
# listen 443 ssl http2;
# listen [::]:443 ssl http2;
#
# 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; }
# SSL config...
}