Fix X-I2P-Location headers for Destructables and Laboratory

This commit is contained in:
root 2023-01-23 08:22:39 +00:00
parent 9a770d86df
commit 9b6c13b13c
4 changed files with 2 additions and 40 deletions

View File

@ -1,5 +1,5 @@
add_header Onion-Location http://ds.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern543vpdnea54gxj4ra66ijciu4fff26emabkdz4w4rgnyx2eq.b32.i2p.b32.i2p$request_uri;
add_header X-I2P-Location http://vern543vpdnea54gxj4ra66ijciu4fff26emabkdz4w4rgnyx2eq.b32.i2p$request_uri;
location / {
proxy_pass http://10.0.3.57:2946;

View File

@ -1,5 +1,5 @@
add_header Onion-Location http://lab.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernfhoyrbg5khg5ub6macvqy3hqlumusjyk3zjmahnupz3s3ola.b32.i2p.b32.i2p$request_uri;
add_header X-I2P-Location http://vernfhoyrbg5khg5ub6macvqy3hqlumusjyk3zjmahnupz3s3ola.b32.i2p$request_uri;
location / {
proxy_pass http://10.0.3.57:2947;

View File

@ -1,10 +0,0 @@
add_header Onion-Location http://mi.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
#add_header X-I2P-Location http://verncceu2kgz54wi7r5jatgmx2mqtsh3knxhiy4m5shescuqtqfa.b32.i2p/socks/$user/$site$request_uri;
ssi on;
location / {
proxy_pass http://mikuinv/;
proxy_set_header Host mi.vern.cc;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

View File

@ -1,28 +0,0 @@
upstream mikuinv {
server unix:/var/socks/mikuinv.sock;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name mikuinv.vern.cc mi.vern.cc;
include snippets/lets-encrypt.conf;
include common/mikuinv.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name mikuinv.vern.cc mi.vern.cc;
}
server {
listen 80;
listen [::]:80;
server_name mikuinv.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion mi.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/mikuinv.conf;
}