added npm configs

This commit is contained in:
2026-03-05 02:45:05 +01:00
parent 186bca77b4
commit 24506cea6a
18 changed files with 1182 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
# ------------------------------------------------------------
# www.sdgserver.online
# ------------------------------------------------------------
map $scheme $hsts_header {
https "max-age=63072000; preload";
}
server {
set $forward_scheme http;
set $server "site";
set $port 80;
listen 80;
listen [::]:80;
server_name www.sdgserver.online;
http2 off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
access_log /data/logs/proxy-host-13_access.log proxy;
error_log /data/logs/proxy-host-13_error.log warn;
location / {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
# Proxy!
include conf.d/include/proxy.conf;
}
# Custom
include /data/nginx/custom/server_proxy[.]conf;
}