PFCT ip change
This commit is contained in:
parent
af6f3dc6cf
commit
e54bbc0835
|
@ -3,7 +3,7 @@ add_header Onion-Location http://bw.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
|
|||
error_log /var/log/nginx/bw.err;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:10416/;
|
||||
proxy_pass http://10.0.3.30:10416/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
|
@ -4,7 +4,7 @@ access_log off;
|
|||
error_log /var/log/nginx/error.log crit;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:3001/;
|
||||
proxy_pass http://10.0.3.30:3001/;
|
||||
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
|
||||
|
|
|
@ -3,7 +3,7 @@ add_header Onion-Location http://lr.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
|
|||
error_log off;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:2501/;
|
||||
proxy_pass http://10.0.3.30:2501/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -2,7 +2,7 @@ add_header Onion-Location http://ld.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
|
|||
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:5002/;
|
||||
proxy_pass http://10.0.3.30:5002/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
|
@ -3,7 +3,7 @@ add_header Onion-Location http://nt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
|
|||
error_log off;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:5744/;
|
||||
proxy_pass http://10.0.3.30:5744/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
|
|
|
@ -4,7 +4,7 @@ access_log off;
|
|||
error_log /var/log/nginx/error.log crit;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:5001/;
|
||||
proxy_pass http://10.0.3.30:5001/;
|
||||
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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
add_header Onion-Location http://scribe.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:5467/;
|
||||
proxy_pass http://10.0.3.30:5467/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
add_header Onion-Location http://st.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:8065;
|
||||
proxy_pass http://10.0.3.30:8065;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
add_header Onion-Location http://tl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:5201;
|
||||
proxy_pass http://10.0.3.30:5201;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
@ -3,7 +3,7 @@ add_header Onion-Location http://td.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
|
|||
error_log off;
|
||||
|
||||
location / {
|
||||
proxy_pass http://10.0.3.129:8003/;
|
||||
proxy_pass http://10.0.3.30:8003/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
@ -249,8 +249,15 @@ server {
|
|||
|
||||
location / {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://localhost:8184;
|
||||
proxy_pass http://127.0.0.1:8184;
|
||||
}
|
||||
|
||||
include snippets/lets-encrypt.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name dim.vern.cc;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue