Kapisi/roles/WebServer/files/conf.d/Core/sharingan.conf

22 lines
571 B
Plaintext

server {
listen 443 ssl http2;
server_name sharingan.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_set_header X-Graylog-Server-URL https://$server_name/;
proxy_pass http://sharingan.msn0.aninix.net:9000;
}
}