lxc is garbage
This commit is contained in:
parent
c228918319
commit
bdeccc549a
|
@ -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.30:10416/;
|
||||
proxy_pass http://10.0.3.154: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.30:3001/;
|
||||
proxy_pass http://10.0.3.154: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.30:2501/;
|
||||
proxy_pass http://10.0.3.154: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.30:5002/;
|
||||
proxy_pass http://10.0.3.154: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.30:5744/;
|
||||
proxy_pass http://10.0.3.154: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.30:5001/;
|
||||
proxy_pass http://10.0.3.154: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.30:5467/;
|
||||
proxy_pass http://10.0.3.154: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.30:8065;
|
||||
proxy_pass http://10.0.3.154: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.30:5201;
|
||||
proxy_pass http://10.0.3.154: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.30:8003/;
|
||||
proxy_pass http://10.0.3.154:8003/;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
|
|
@ -21,7 +21,7 @@ location / {
|
|||
error_page 403 /errors/403;
|
||||
error_page 404 /errors/404;
|
||||
error_page 503 /errors/503;
|
||||
location ~* \.(jpg|jpeg|png|gif|ico)$ {
|
||||
location ~^/[^u~].*\.(jpg|jpeg|png|gif|ico)$ {
|
||||
expires 30d;
|
||||
}
|
||||
|
||||
|
@ -64,14 +64,11 @@ location ~ ^/(~|u/)(?<user>[\w-]+)(?<user_uri>/.*)?$ {
|
|||
index index.html index.php index.cgi index.py index.sh index.pl index.lua;
|
||||
ssi on;
|
||||
|
||||
# rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent;
|
||||
# rewrite ^/(.*)/$ /$1 permanent;
|
||||
try_files $user_uri $user_uri/index.html $user_uri.html $user_uri/ @extensionless-php;
|
||||
autoindex on;
|
||||
autoindex_exact_size off;
|
||||
|
||||
subs_filter_types text/html text/css text/xml;
|
||||
subs_filter (((file|virtual|src|href)=|url\()["']?)/([^/]) $1/~$user/$4 r;
|
||||
subs_filter (((file|virtual|src|href)=|url\()["']?)/([^/]) $1/u/$user/$4 r;
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass 192.168.122.30:9000;
|
||||
|
@ -114,7 +111,8 @@ location /sitemap {
|
|||
fancyindex_time_format "%a, %e %B %Y %I:%M:%S %p";
|
||||
subs_filter "<style type=\"text/css\">" "";
|
||||
subs_filter "</syle>" "";
|
||||
subs_filter "body,html {background:#fff;font-family:\"Bitstream Vera Sans\",\"Lucida Grande\",\"Lucida Sans Unicode\",Lucidux,Verdana,Lucida,sans-serif;}tr:nth-child(even) {background:#f4f4f4;}th,td {padding:0.1em 0.5em;}th {text-align:left;font-weight:bold;background:#eee;border-bottom:1px solid #aaa;}#list {border:1px solid #aaa;width:100%;}a {color:#a33;}a:hover {color:#e33;}" "<!--#include file=\"/nav\"-->";
|
||||
subs_filter "body,html {background:#fff;font-family:\"Bitstream Vera Sans\",\"Lucida Grande\",\"Lucida Sans Unicode\",Lucidux,Verdana,Lucida,sans-serif;}tr:nth-child(even) {background:#f4f4f4;}th,td {padding:0.1em 0.5em;}th {text-align:left;font-weight:bold;background:#eee;border-bottom:1px solid #aaa;}#list {border:1px solid #aaa;width:100%;}a {color:#a33;}a:hover {color:#e33;}" "<!--#include file=\"/nav\"-->";
|
||||
subs_filter "/sitemap/" "/";
|
||||
error_page 403 /errors/403;
|
||||
error_page 404 /errors/404;
|
||||
error_page 503 /errors/503;
|
||||
|
|
Loading…
Reference in New Issue