This commit is contained in:
root 2022-12-02 13:53:21 +00:00
parent 4fcb794bf3
commit 272861ac59
11 changed files with 33 additions and 30 deletions

View File

@ -1,6 +1,6 @@
add_header Onion-Location http://cinny.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernyaourawd4avjf7ye6g43pqovys5wqdr672kervjpev353klq.b32.i2p$request_uri;
root /var/www/cinny;
root /var/www/cinny-git/dist;
index index.html;
ssi on;
location / {

View File

@ -1,12 +1,12 @@
add_header Onion-Location http://ft.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vern54jxta6pdm4zduragtjln4lybvrkuymmdslxlnec3sxur36a.b32.i2p$request_uri;
location /api {
client_max_body_size 100m;
proxy_pass http://localhost:7999/api;
location / {
proxy_pass https://ft.vern.cc/;
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";
}
root /home/fed-tester/fed-tester-ui/build;

View File

@ -2,9 +2,9 @@ add_header Onion-Location http://id.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajh
add_header X-I2P-Location http://vern4l4bo3tzed7niopxkfijgbyod6vc7pmqrhice2mjvjfboqua.b32.i2p$request_uri;
location / {
proxy_pass http://iceberg.vern.cc/;
proxy_pass https://id.vern.cc/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header Host "id.vern.cc";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}

View File

@ -4,7 +4,7 @@ add_header X-I2P-Location http://verncfvtpzdyrq4iy72nsv5tq3tmoxblywsxg25v2eydyao
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host "ls.vern.cc";
proxy_pass http://139.144.17.216:8989/;
proxy_pass https://ls.vern.cc/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

View File

@ -100,7 +100,7 @@ location @extensionless-php {
rewrite ^(.*)$ $1.php last;
}
location ~ ^(/media/|/canaries/)$ {
location ~ ^(/media/|/canaries/|/finreport/|/en/finreport/)$ {
fancyindex on;
fancyindex_exact_size off;
fancyindex_default_sort date_desc;

View File

@ -29,7 +29,8 @@ server {
}
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter "wiki.vern.cc" "vernknid6kpyzaghegtnypzxe2nx643zrfc4jivh2tlna5m5jvcq.b32.i2p"
subs_filter "wiki.vern.cc" "vernknid6kpyzaghegtnypzxe2nx643zrfc4jivh2tlna5m5jvcq.b32.i2p";
subs_filter "gcdn.vern.cc/vernsite" "verncceu2kgz54wi7r5jatgmx2mqtsh3knxhiy4m5shescuqtqfa.b32.i2p/media";
include common/website.conf;
location ~ ^/socks/(?<user>[\w-]+)/(?<site>[\w-]+)(?<user_uri>/.*)?$ {
@ -75,6 +76,7 @@ server {
}
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter "wiki.vern.cc" "wiki.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
subs_filter "gcdn.vern.cc/vernsite" "vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion/media";
include common/website.conf;
}

View File

@ -5,7 +5,7 @@ server {
server_name vern5pgpfjdplnz7yhqazesx62hrx6r6i4xvv4kjshwefwikkjjuvwad.onion;
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter "https://ftelnet.vern.cc" "http://ftelnet.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
subs_filter "ftelnet.vern.cc" "ftelnet.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion";
include common/bbs.conf;
}
@ -17,7 +17,7 @@ server {
server_name vernv5abwkzvlzneqto7x6vxw3bwdmd3emdnb4xuvwykwlghwaea.b32.i2p;
subs_filter_types text/html text/css text/xml application/javascript text/plain;
subs_filter "https://ftelnet.vern.cc" "http://vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p";
subs_filter "ftelnet.vern.cc" "vernzscupwi6rmlkdivib3q54iqc6fa6bjwe2prxqt3x7mqv4ezq.b32.i2p";
include common/bbs.conf;
}

View File

@ -15,17 +15,3 @@ server {
include common/federationtester.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ft.vern.cc federationtester.vern.cc;
include snippets/lets-encrypt.conf;
include common/federationtester.conf;
}
server {
listen 80;
listen [::]:80;
server_name ft.vern.cc federationtester.vern.cc;
return 301 https://$host$request_uri;
}

View File

@ -8,8 +8,8 @@ server {
}
server {
listen 11012;
listen [::]:11012;
listen 11083;
listen [::]:11083;
server_name vernz3gvdqo6dtfaqmbwqrgzfmhwblfbonvtumo63f3q3h7cr5eq.b32.i2p;

15
conf.d/gcdn.conf Normal file
View File

@ -0,0 +1,15 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name gcdn.vern.cc;
include snippets/lets-encrypt.conf;
root /var/www/gcdn;
fancyindex on;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name gcdn.vern.cc;
}

View File

@ -8,8 +8,8 @@ server {
}
server {
listen 11067;
listen [::]:11067;
listen 11084;
listen [::]:11084;
server_name vernbrpw2ivyireljmadepiwl2zwukfs3qq3neqiygdzd2swyb3a.b32.i2p;