Fixing Let's Encrypt with custom Nginx rules on Plesk
When having expressions like this: location ~ ^/(?:\.|include) { deny all; } All requests which start with a dot (.) or include get denied. As such the required .well-known folder used for the acme challenge by Let’s Encrypt gets denied too and Plesk is unable to renew certificates. To solve it, it is…