Main repository for Devuan's
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.3 KiB

server { listen 80;


location ~ ^/.well-known/acme-challenge { root /home/; }

location / { return 301 https://$server_name$request_uri; }


server {

listen 443 ssl;

server_name; root /home/;

location / { autoindex off; }

location cgi-bin { gzip off; autoindex off; #root /home/;

fastcgi_pass unix:/var/run/fcgiwrap.socket;

include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; }

ssl on;

ssl_certificate /etc/letsencrypt/live/; ssl_certificate_key /etc/letsencrypt/live/; ssl_protocols TLSv1.2 TLSv1.1 TLSv1; ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"; ssl_ecdh_curve secp384r1; ssl_prefer_server_ciphers on; ssl_session_cache builtin:1000 shared:SSL:10m; resolver valid=300s; resolver_timeout 3s; }