mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Do not interfere with letsencrypt access to .well-known
This commit is contained in:
parent
4fe2525e6a
commit
ba8ff52904
3 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ RewriteCond %{REQUEST_URI} !/common/manual/
|
|||
RewriteRule ^(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugins|themes|widgets|widgetstyles)/.+\.(html|xml)$ - [L,F]
|
||||
RewriteRule ^files/(attach|config|cache/store)/.+\.php$ - [L,F]
|
||||
RewriteRule ^files/env/ - [L,F]
|
||||
RewriteRule ^(\.|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) - [L,F]
|
||||
RewriteRule ^(\.git|\.ht|\.travis|codeception\.|composer\.|Gruntfile\.js|package\.json|CONTRIBUTING|COPYRIGHT|LICENSE|README) - [L,F]
|
||||
|
||||
# static files
|
||||
RewriteCond %{SCRIPT_FILENAME} !-f
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue