nginx-configs/common/convos.conf

16 lines
613 B
Plaintext

add_header Onion-Location http://cv.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernqjyxqnmp3yimhsax4cpo7zcaog4fssecc2hpz4y362olobaq.b32.i2p$request_uri;
location / {
proxy_pass http://localhost:9000/;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Request-Base "$scheme://$host/";
client_max_body_size 0;
}