diff --git a/common/fulltextrss.conf b/common/fulltextrss.conf index 2244faf..71a0f99 100644 --- a/common/fulltextrss.conf +++ b/common/fulltextrss.conf @@ -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; diff --git a/conf.d/0x0.conf b/conf.d/0x0.conf index 6ff663a..12512cc 100644 --- a/conf.d/0x0.conf +++ b/conf.d/0x0.conf @@ -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"; } diff --git a/conf.d/hedgedoc.conf b/conf.d/hedgedoc.conf index 1329ec9..f2246e4 100644 --- a/conf.d/hedgedoc.conf +++ b/conf.d/hedgedoc.conf @@ -1,3 +1,8 @@ +map $http_upgrade $connection_upgrade { + default upgrade; + '' close; +} + server { listen 80; listen [::]:80;