add Yarn.Social
This commit is contained in:
parent
5ad823093b
commit
714c408ea1
|
@ -0,0 +1,11 @@
|
|||
add_header Onion-Location http://yn.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
add_header X-I2P-Location http://vernlebgbpxnln2oluosc4hrnjr7byg2e5pqiwi2phhwmudbhirq.b32.i2p$request_uri;
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.122.30:7777/;
|
||||
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_cookie_path / "/; Secure; HttpOnly; SameSite=lax";
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name yn.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion yarn.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion twtxt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
|
||||
include common/yarn.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11056;
|
||||
listen [::]:11056;
|
||||
|
||||
server_name vernlebgbpxnln2oluosc4hrnjr7byg2e5pqiwi2phhwmudbhirq.b32.i2p;
|
||||
|
||||
include common/yarn.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name yn.vern.cc yarn.vern.cc twtxt.vern.cc;
|
||||
include common/yarn.conf;
|
||||
include snippets/lets-encrypt.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name yn.vern.cc yarn.vern.cc twtxt.vern.cc;
|
||||
}
|
Loading…
Reference in New Issue