60 lines
684 B
Plaintext
60 lines
684 B
Plaintext
# ------------------------------------------------------------
|
|
# proxy.sdgserver.online
|
|
# ------------------------------------------------------------
|
|
|
|
|
|
|
|
map $scheme $hsts_header {
|
|
https "max-age=63072000; preload";
|
|
}
|
|
|
|
server {
|
|
set $forward_scheme http;
|
|
set $server "192.168.2.132";
|
|
set $port 81;
|
|
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
|
|
server_name proxy.sdgserver.online;
|
|
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;
|
|
}
|