mirror of
https://git.anonymousland.org/anonymousland/infrastructure.git
synced 2024-07-01 03:41:17 +00:00
Host our site using nginx
This commit is contained in:
parent
1d19bcf533
commit
b75c6cfe2c
|
@ -17,17 +17,9 @@ server {
|
|||
}
|
||||
|
||||
location / {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app site;
|
||||
set $upstream_port 4000;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
root /config/www;
|
||||
index index.html;
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
}
|
||||
|
||||
# location / {
|
||||
# root /config/www;
|
||||
# index index.html;
|
||||
# }
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user