Files
secret-santa/nginx.conf
Jonas Platte f92b5c56ff Commit
2022-11-25 09:52:50 +01:00

14 lines
419 B
Nginx Configuration File

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