Onion SSH lmao

This commit is contained in:
root 2022-07-26 20:58:19 -04:00
parent bf1db93bff
commit 7f052e3dae
2 changed files with 2 additions and 3 deletions

View File

@ -52,7 +52,7 @@ location ~ ^/(~|u/)(?<user>[\w-]+)(?<user_uri>/.*)?$ {
return 307 https://vern.cc/;
}
subs_filter (<[^>]*\s(href|src)=["']?/) $1u/$user;
# subs_filter (<[^>]*\s(href|src)=["']?/) $1u/$user;
autoindex on;
autoindex_exact_size off;
ssi on;
@ -63,7 +63,7 @@ location ~ ^/(~|u/)(?<user>[\w-]+)(?<user_uri>/.*)?$ {
rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent;
rewrite ^/(.*)/$ /$1 permanent;
# try_files $uri $uri/index.html $uri.html $uri/ @extensionless-php;
try_files $uri $uri/index.html $uri.html $uri/ =404;
location ~ \.php$ {
fastcgi_pass 192.168.122.30:9000;

View File

@ -16,7 +16,6 @@ server {
subs_filter jitsi.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion jitsi.vern.cc;
subs_filter mumble.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion mumble.vern.cc;
subs_filter mtrx.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion mtrx.vern.cc;
subs_filter ssh://vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion ssh://vern.cc;
subs_filter vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion:6697 vern.cc:6697;
subs_filter @vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion @vern.cc;