diff --git a/README.md b/README.md index eb6d790..959c0c5 100755 --- a/README.md +++ b/README.md @@ -44,26 +44,6 @@ # dnf install nginx php-fpm mariadb composer fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } - - listen 443 ssl; # managed by Certbot - ssl_certificate /etc/letsencrypt/live/valerjakubco.xyz/fullchain.pem; # managed by Certbot - ssl_certificate_key /etc/letsencrypt/live/valerjakubco.xyz/privkey.pem; # managed by Certbot - include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot - -} - -server { - if ($host = valerjakubco.xyz) { - return 301 https://$host$request_uri; - } # managed by Certbot - - - listen 80; - server_name valerjakubco.xyz; - return 404; # managed by Certbot - - } ```