14 lines
320 B
Plaintext
14 lines
320 B
Plaintext
#access_log off;
|
|
error_log /var/log/nginx/error.log crit;
|
|
|
|
location / {
|
|
proxy_pass https://status.vern.cc;
|
|
proxy_set_header Host status.vern.cc;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_http_version 1.1; # to keep alive
|
|
proxy_set_header Connection ""; # to keep alive
|
|
}
|
|
if ($badagent) {
|
|
return 403;
|
|
}
|