move most privfrontends to a seperate container
This commit is contained in:
parent
fc4e78e98f
commit
755a4ec4de
|
@ -3,7 +3,7 @@ add_header Onion-Location http://bw.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
|
|||
error_log /var/log/nginx/bw.err;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:10416/;
|
||||
proxy_pass http://10.0.3.129: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://127.0.0.1:3001/;
|
||||
proxy_pass http://10.0.3.129: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://localhost:2501/;
|
||||
proxy_pass http://10.0.3.129: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://localhost:5002/;
|
||||
proxy_pass http://10.0.3.129:5002/;
|
||||
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://lt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://unix:/var/socks/libretranslate.sock;
|
||||
proxy_pass http://127.0.0.1:5001;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
@ -3,7 +3,7 @@ add_header Onion-Location http://nt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
|
|||
error_log off;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:5744/;
|
||||
proxy_pass http://10.0.3.129: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://localhost:5001/;
|
||||
proxy_pass http://10.0.3.129: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://127.0.0.1:5467/;
|
||||
proxy_pass http://10.0.3.129: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://unix:/var/socks/simpleertube.sock;
|
||||
proxy_pass http://10.0.3.129: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://unix:/var/socks/simplytranslate.sock;
|
||||
proxy_pass http://10.0.3.129: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://localhost:8003/;
|
||||
proxy_pass http://10.0.3.129:8003/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
Loading…
Reference in New Issue