nginx-configs/common/morss.conf

12 lines
295 B
Plaintext

add_header Onion-Location http://morss.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
location / {
proxy_pass http://localhost:8000/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
}
if ($badagent) {
return 403;
}