2022-07-02 10:24:10 -05:00
|
|
|
server {
|
|
|
|
#listen 443 ssl http2;
|
|
|
|
listen 443 ssl http2;
|
|
|
|
server_name yggdrasil.aninix.net;
|
|
|
|
|
2023-11-09 13:03:06 -06:00
|
|
|
include conf/sec.conf;
|
|
|
|
include conf/letsencrypt.conf;
|
|
|
|
# include conf/default.csp.conf;
|
2022-07-02 10:24:10 -05:00
|
|
|
|
|
|
|
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://127.0.0.1:8096;
|
|
|
|
proxy_force_ranges on;
|
|
|
|
}
|
|
|
|
}
|