Fix nginx sample config
This commit is contained in:
@@ -4,10 +4,8 @@ server {
|
|||||||
#
|
#
|
||||||
# server_name whatever.tld;
|
# 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
|
# 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...
|
# SSL config...
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user