nginx-configs/common/conversejs.conf

13 lines
364 B
Plaintext

add_header Onion-Location http://xmpp.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernd6f2dxbwfwp4fbkrdz75k2h2wyudmvwrqkrgkawjjrm72z3a.b32.i2p$request_uri;
root /var/www/conversejs-git;
index index.html index.htm;
location / {
try_files $uri $uri/ /index.html;
}
if ($badagent) {
return 403;
}