Nginx-Configurations/http.d/nxt.shad.moe

21 lines
No EOL
643 B
Text

# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS)
include snippets/global/common-boilerplate.conf;
server {
server_name nxt.shad.moe www.nxt.shad.moe;
ssl_certificate /etc/letsencrypt/live/nxt.shad.moe/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/nxt.shad.moe/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/nxt.shad.moe/fullchain.pem;
include snippets/global/common-ssl.conf;
include snippets/proxy/common-proxy-headers.conf;
location / {
proxy_pass https://192.168.1.66;
}
include snippets/global/errors/http-cat-error-pages.conf;
}