diff --git a/common/destructables.conf b/common/destructables.conf index 8b14ee5..7724ec6 100644 --- a/common/destructables.conf +++ b/common/destructables.conf @@ -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; diff --git a/common/lab.conf b/common/lab.conf index 4231835..f13512f 100644 --- a/common/lab.conf +++ b/common/lab.conf @@ -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; diff --git a/common/mikuinv.conf b/common/mikuinv.conf deleted file mode 100644 index 0b329d5..0000000 --- a/common/mikuinv.conf +++ /dev/null @@ -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; -} diff --git a/conf.d/mikuinv.conf b/conf.d/mikuinv.conf deleted file mode 100644 index 131e924..0000000 --- a/conf.d/mikuinv.conf +++ /dev/null @@ -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; -}