nginx-configs/common/0x0.conf

20 lines
599 B
Plaintext
Raw Normal View History

2022-07-29 11:38:29 +00:00
add_header Onion-Location http://0.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
2022-10-21 20:40:01 +00:00
add_header X-I2P-Location http://vernkjqjz3qctifc3ovi7s77zzkej6qb6wbgly7yu46tgtffskla.b32.i2p$request_uri;
client_max_body_size 1024M;
2022-07-29 11:38:29 +00:00
root /home/0x0/0x0;
location / {
proxy_pass http://localhost:3031/;
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 http;
proxy_cookie_path / "/; Secure; HttpOnly; SameSite=lax";
ssi on;
}
location /up {
2022-07-29 11:38:29 +00:00
internal;
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}