nginx-configs/common/srht.conf

11 lines
240 B
Plaintext

location / {
proxy_pass http://10.0.3.135:80/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
if ($badagent) {
return 403;
}