Deprecate vern0.me and try to fix full-text rss

This commit is contained in:
root 2023-01-10 03:05:04 +00:00
parent 79b745248c
commit ad9fafbb9e
3 changed files with 8 additions and 2 deletions

View File

@ -9,7 +9,7 @@ location / {
}
location ~ \.php$ {
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
fastcgi_pass unix:/run/php/php5.6-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/snippets/fastcgi.conf;

View File

@ -47,5 +47,6 @@ server {
server_name vern0.me;
ssl_certificate_key /etc/letsencrypt/live/vern0.me/privkey.pem;
ssl_certificate /etc/letsencrypt/live/vern0.me/fullchain.pem;
include common/0x0.conf;
default_type text/plain;
return 200 "vern0.me is deprecated. Please use 0.vern.cc.\n";
}

View File

@ -1,3 +1,8 @@
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
listen 80;
listen [::]:80;