14 lines
497 B
Plaintext
14 lines
497 B
Plaintext
add_header Onion-Location http://inv.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
|
|
|
access_log off;
|
|
error_log /var/log/nginx/error.log crit;
|
|
|
|
location / {
|
|
proxy_pass http://10.7.0.1:2500/;
|
|
# proxy_pass http://127.0.0.1:2500/; # in case we cant host it on vps anymore
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header Host $host; # so Invidious knows domain
|
|
proxy_http_version 1.1; # to keep alive
|
|
proxy_set_header Connection ""; # to keep alive
|
|
}
|