nginx-configs/conf.d/checkstatus.conf

26 lines
542 B
Plaintext

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name checkstatus.vern.cc;
include snippets/lets-encrypt.conf;
root /var/www/checkstatus;
error_log off;
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;
}