changes to NGinx config, test if DB will regenerate from conf files.

This commit is contained in:
2026-03-04 08:01:19 +01:00
parent bd4a756e53
commit 43b8cfb296
20 changed files with 30 additions and 31 deletions

View File

@@ -0,0 +1,59 @@
# ------------------------------------------------------------
# proxy.sdgserver.online
# ------------------------------------------------------------
map $scheme $hsts_header {
https "max-age=63072000; preload";
}
server {
set $forward_scheme http;
set $server "?localip?";
set $port 81;
listen 80;
listen [::]:80;
server_name proxy.?domain?;
http2 off;
access_log /data/logs/proxy-host-10_access.log proxy;
error_log /data/logs/proxy-host-10_error.log warn;
location / {
# Proxy!
include conf.d/include/proxy.conf;
}
# Custom
include /data/nginx/custom/server_proxy[.]conf;
}