Do not interfere with letsencrypt access to .well-known

This commit is contained in:
Kijin Sung 2016-07-05 22:42:22 +09:00
parent 4fe2525e6a
commit ba8ff52904
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ location ~ ^/rhymix/files/(attach|config|cache/store)/.+\.php$ {
location ~ ^/rhymix/files/env/ {
return 403;
}
location ~ ^/rhymix/(\.|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) {
location ~ ^/rhymix/(\.git|\.ht|\.travis|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) {
return 403;
}

View file

@ -14,7 +14,7 @@ location ~ ^/files/(attach|config|cache/store)/.+\.php$ {
location ~ ^/files/env/ {
return 403;
}
location ~ ^/(\.|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) {
location ~ ^/(\.git|\.ht|\.travis|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) {
return 403;
}