AniNIX/Wiki#21 -- effecting renames for policy
This commit is contained in:
29
roles/WebServer/files/conf.d/Yggdrasil/superintendent.conf
Normal file
29
roles/WebServer/files/conf.d/Yggdrasil/superintendent.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
map $http_upgrade $connection_upgrade {
|
||||
default upgrade;
|
||||
'' close;
|
||||
}
|
||||
|
||||
server {
|
||||
#listen 443 ssl http2;
|
||||
listen 443 ssl;
|
||||
server_name superintendent.aninix.net;
|
||||
|
||||
include conf/sec.conf;
|
||||
# include conf/default.csp.conf;
|
||||
# include conf/local.conf;
|
||||
include conf/letsencrypt.conf;
|
||||
|
||||
location /
|
||||
{
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://superintendent.msn0.aninix.net:8123;
|
||||
proxy_redirect http:// https://;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user