diff --git a/ubuntu/erlking.silvestris.systems.yml b/ubuntu/erlking.silvestris.systems.yml index 857f44e..be47616 100644 --- a/ubuntu/erlking.silvestris.systems.yml +++ b/ubuntu/erlking.silvestris.systems.yml @@ -124,36 +124,6 @@ - ssl_certificate "/etc/ssl/letsencrypt/sadiqsaif.ca.crt" - ssl_certificate_key "/etc/ssl/letsencrypt/sadiqsaif.ca.pem" - return 301 "https://sadiqsaif.com$request_uri" - wiki.tenforward.social.http: - - listen *:80 - - listen [::]:80 - - server_name wiki.tenforward.social - - return 301 "https://$host$request_uri" - wiki.tenforward.social.https: - - listen *:443 ssl http2 - - listen [::]:443 ssl http2 - - server_name wiki.tenforward.social - - root "/srv/www/wiki.tenforward.social" - - index index.php - - access_log "/var/log/nginx/wiki.tenforward.social.access.log" - - error_log "/var/log/nginx/wiki.tenforward.social.error.log" - - ssl_certificate "/etc/ssl/letsencrypt/wiki.tenforward.social.crt" - - ssl_certificate_key "/etc/ssl/letsencrypt/wiki.tenforward.social.pem" - - include snippets/sslstapling_hsts.conf - - location ~ /(data|conf|bin|inc)/ { - deny all; - } - - location / { - try_files $uri $uri/ /index.php?$args; - } - - location ~ \.php$ { - try_files $uri =404; - fastcgi_split_path_info ^(.+\.php)(/.+)$; - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_pass php; - fastcgi_index index.php; - } ultonomy.com.http: - listen *:80 - listen [::]:80