Host our site using nginx

This commit is contained in:
NebulaOnion 2023-01-26 16:54:51 +00:00
parent 1d19bcf533
commit b75c6cfe2c

View file

@ -17,17 +17,9 @@ server {
} }
location / { location / {
include /config/nginx/proxy.conf; root /config/www;
include /config/nginx/resolver.conf; index index.html;
set $upstream_app site; try_files $uri $uri.html $uri/ =404;
set $upstream_port 4000;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
} }
# location / {
# root /config/www;
# index index.html;
# }
} }