Commit
This commit is contained in:
13
nginx.conf
Normal file
13
nginx.conf
Normal 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...
|
||||
}
|
||||
Reference in New Issue
Block a user