add beatbump
This commit is contained in:
parent
714c408ea1
commit
d0660580c4
|
@ -0,0 +1,12 @@
|
|||
add_header Onion-Location http://bb.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
|
||||
add_header X-I2P-Location http://vern6inmbjzqpecx4kpkq5sln3cqqrfuxfzh4au3tpxbsfbwbnta.b32.i2p$request_uri;
|
||||
subs_filter "yn.vern.cc" "$host";
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:7454/;
|
||||
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 bb.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion beatbump.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
|
||||
include common/beatbump.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 11057;
|
||||
listen [::]:11057;
|
||||
|
||||
server_name vern6inmbjzqpecx4kpkq5sln3cqqrfuxfzh4au3tpxbsfbwbnta.b32.i2p;
|
||||
|
||||
include common/beatbump.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name bb.vern.cc beatbump.vern.cc;
|
||||
include common/beatbump.conf;
|
||||
include snippets/lets-encrypt.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name bb.vern.cc beatbump.vern.cc;
|
||||
|
||||
}
|
Loading…
Reference in New Issue