Checkstatus for darknet

This commit is contained in:
root 2022-10-29 11:42:11 -04:00
parent 2d2954c230
commit 1804a5337b
1 changed files with 24 additions and 0 deletions

24
conf.d/checkstatus.conf Normal file
View File

@ -0,0 +1,24 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name checkstatus.vern.cc;
include snippets/lets-encrypt.conf;
root /var/www/checkstatus;
index index.html index.php index.cgi index.py index.sh index.pl index.lua;
ssi on;
location ~ (\.cgi|\.py|\.sh|\.pl|\.lua|\/cgi-bin)$ {
gzip off;
fastcgi_pass 127.0.0.1:5594;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
}
}
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
server_name checkstatus.vern.cc;
}