nginx-configs/common/simplelogin.conf

16 lines
531 B
Plaintext
Raw Permalink Normal View History

2022-10-29 15:40:35 +00:00
add_header Onion-Location http://sl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://verndokks33kdmyo23qihg45lb4sinl6f6b34hc7be6754p3b4aa.b32.i2p$request_uri;
2023-05-18 17:45:09 +00:00
#access_log off;
2022-10-29 15:40:35 +00:00
error_log /var/log/nginx/error.log crit;
location / {
2023-11-30 20:27:10 +00:00
proxy_pass https://sl.vern.cc;
proxy_set_header Host sl.vern.cc;
2022-10-29 15:40:35 +00:00
proxy_set_header X-Forwarded-For $remote_addr;
proxy_http_version 1.1; # to keep alive
proxy_set_header Connection ""; # to keep alive
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}