Add Suds
This commit is contained in:
parent
ad9fafbb9e
commit
4ef8cf2a97
|
@ -0,0 +1,19 @@
|
||||||
|
add_header Onion-Location http://sd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||||
|
add_header X-I2P-Location http://vernrdigztvu3427stlditjofgkuoc3b7kbkxvlecaej5ufe4l5q.b32.i2p$request_uri;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://10.0.3.57:2945;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /proxy/ {
|
||||||
|
proxy_pass http://10.0.3.57:2945;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_cache suds;
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
proxy_cache_path /tmp/cache keys_zone=quetre:10m inactive=60m;
|
proxy_cache_path /tmp/cache keys_zone=quetre:60m inactive=60m;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
proxy_cache_path /tmp/suds-cache keys_zone=suds:60m inactive=60m;
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name sd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion suds.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion snopes.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||||
|
|
||||||
|
include common/suds.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 11100;
|
||||||
|
listen [::]:11100;
|
||||||
|
|
||||||
|
server_name vernrdigztvu3427stlditjofgkuoc3b7kbkxvlecaej5ufe4l5q.b32.i2p;
|
||||||
|
|
||||||
|
include common/suds.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
include snippets/lets-encrypt.conf;
|
||||||
|
server_name sd.vern.cc suds.vern.cc snopes.vern.cc;
|
||||||
|
include common/suds.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
server_name sd.vern.cc suds.vern.cc snopes.vern.cc;
|
||||||
|
}
|
Loading…
Reference in New Issue