nginx-configs/common/srht.conf

11 lines
240 B
Plaintext
Raw Normal View History

2022-11-19 15:17:31 +00:00
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;
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}