~vern is back up

This commit is contained in:
root 2023-05-18 17:45:09 +00:00
parent 8af7e2373a
commit 61733b10ac
13 changed files with 19 additions and 53 deletions

View File

@ -1,6 +1,7 @@
add_header Onion-Location http://vern5pgpfjdplnz7yhqazesx62hrx6r6i4xvv4kjshwefwikkjjuvwad.onion$request_uri;
add_header X-I2P-Location http://vern6wnypbds4y6zdht5j4ruufbtb4zlcm3baez5w72wjtgiw6ea.b32.i2p$request_uri;
access_log off;
#access_log off;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log crit;
location / {

View File

@ -1,7 +1,8 @@
add_header Onion-Location http://gp.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernpl3z5syo5sblwnna2v4ktdwjmdotbta4346zekfi64is7idq.b32.i2p$request_uri;
access_log off;
#access_log off;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log crit;
location / {

View File

@ -5,9 +5,5 @@ access_log off;
error_log /var/log/nginx/error.log crit;
location / {
proxy_pass http://10.0.3.57:1520/;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host; # so Invidious knows domain
proxy_http_version 1.1; # to keep alive
proxy_set_header Connection ""; # to keep alive
return 301 https://vern.cc/blog/odyssey.html;
}

View File

@ -1,7 +1,8 @@
add_header Onion-Location http://lbry.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernb4mvgeej5kawfg3tm337sbihdf4i6oy7w4trirgsnaq67zva.b32.i2p$request_uri;
access_log off;
#access_log off;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log crit;
location / {

View File

@ -1,9 +0,0 @@
add_header Onion-Location http://lt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernf45n7mxwqnp5riaax7p67pwcl7wcefdcnqqvim7ckdx4264a.b32.i2p$request_uri;
location / {
proxy_pass http://127.0.0.1:5001;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
}

View File

@ -6,6 +6,7 @@ sendfile on;
client_max_body_size 80m;
root /home/mastodon/live/public;
error_log /var/log/nginx/mastodon.err;
gzip on;
gzip_disable "msie6";

View File

@ -1,7 +1,9 @@
access_log /var/log/nginx/access.log;
add_header Onion-Location http://rg.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernu3bfx2rvpuaccs5q27yncv6srdijkan6ixbkvyc2lsbrslxq.b32.i2p$request_uri;
access_log off;
#access_log off;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log crit;
subs_filter rimgo.vern.cc $host;

View File

@ -1,7 +1,8 @@
add_header Onion-Location http://az.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://vernlncxo4aswplv7naacpjvp5ts4uhrv4wbv3y4skufdbz763gq.b32.i2p$request_uri;
access_log off;
#access_log off;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log crit;
location / {

View File

@ -1,6 +1,7 @@
add_header Onion-Location http://sl.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://verndokks33kdmyo23qihg45lb4sinl6f6b34hc7be6754p3b4aa.b32.i2p$request_uri;
access_log off;
#access_log off;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log crit;
location / {

View File

@ -1,6 +1,7 @@
add_header Onion-Location http://vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://verncceu2kgz54wi7r5jatgmx2mqtsh3knxhiy4m5shescuqtqfa.b32.i2p$request_uri;
root /var/www/website;
access_log /var/log/nginx/access.log;
index index.html index.php;
ssi on;
gzip on;

View File

@ -118,7 +118,8 @@ server {
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
# return 301 https://$host$request_uri;
return 200 "JgjvzV1cJEz0noDw0I597Euzm2vAu1Ibj_cAmGXKnt0.2r1q1Ilo1S8Gg4uYqfT96sAwG2utxR8e3gCk3tMFGWI";
server_name www.vern.cc vern.cc;
}
server {

View File

@ -1,31 +0,0 @@
server {
listen 80;
listen [::]:80;
server_name lt.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion libretranslate.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion;
include common/libretranslate.conf;
}
server {
listen 11005;
listen [::]:11005;
server_name vernf45n7mxwqnp5riaax7p67pwcl7wcefdcnqqvim7ckdx4264a.b32.i2p;
include common/libretranslate.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
include snippets/lets-encrypt.conf;
server_name lt.vern.cc libretranslate.vern.cc;
include common/libretranslate.conf;
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name lt.vern.cc libretranslate.vern.cc;
}

View File

@ -20,7 +20,7 @@ http {
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
# Logging Settings
access_log off;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
gzip on;
# gzip_vary on;