Kapisi/roles/WebServer/files/conf.d/maat.conf

20 lines
506 B
Plaintext

server {
listen 443 ssl http2;
server_name maat.aninix.net;
include sec.conf;
include default.csp.conf;
include letsencrypt.conf;
location /
{
try_files $uri /index.html
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://maat.msn0.aninix.net:80;
proxy_force_ranges on;
}
}