Typo
This commit is contained in:
parent
1e23a2dcfe
commit
bc91be7e59
|
@ -77,10 +77,10 @@ Add a `^` symbol before url path, this will exactly match the url begins
|
|||
with the path.
|
||||
|
||||
```
|
||||
+location ~ ^/mail/(bin|config|installer|logs|SQL|temp|vendor)($|/.*) { deny all; }
|
||||
+location ~ ^/mail/(CHANGELOG|composer.json|INSTALL|jsdeps.json|LICENSE|README|UPGRADING)($|.*) { deny all; }
|
||||
+location ~ ^/mail/plugins/.*/config.inc.php.* { deny all; }
|
||||
+location ~ ^/mail/plugins/enigma/home($|/.*) { deny all; }
|
||||
location ~ ^/mail/(bin|config|installer|logs|SQL|temp|vendor)($|/.*) { deny all; }
|
||||
location ~ ^/mail/(CHANGELOG|composer.json|INSTALL|jsdeps.json|LICENSE|README|UPGRADING)($|.*) { deny all; }
|
||||
location ~ ^/mail/plugins/.*/config.inc.php.* { deny all; }
|
||||
location ~ ^/mail/plugins/enigma/home($|/.*) { deny all; }
|
||||
```
|
||||
|
||||
Open file `/etc/nginx/templates/roundcube-subdomain.tmpl`, find `location`
|
||||
|
|
|
@ -116,10 +116,10 @@ location ~ /mail/plugins/enigma/home($|/.*) { deny all; }
|
|||
|
||||
<p>Add a <code>^</code> symbol before url path, this will exactly match the url begins
|
||||
with the path.</p>
|
||||
<pre><code>+location ~ ^/mail/(bin|config|installer|logs|SQL|temp|vendor)($|/.*) { deny all; }
|
||||
+location ~ ^/mail/(CHANGELOG|composer.json|INSTALL|jsdeps.json|LICENSE|README|UPGRADING)($|.*) { deny all; }
|
||||
+location ~ ^/mail/plugins/.*/config.inc.php.* { deny all; }
|
||||
+location ~ ^/mail/plugins/enigma/home($|/.*) { deny all; }
|
||||
<pre><code>location ~ ^/mail/(bin|config|installer|logs|SQL|temp|vendor)($|/.*) { deny all; }
|
||||
location ~ ^/mail/(CHANGELOG|composer.json|INSTALL|jsdeps.json|LICENSE|README|UPGRADING)($|.*) { deny all; }
|
||||
location ~ ^/mail/plugins/.*/config.inc.php.* { deny all; }
|
||||
location ~ ^/mail/plugins/enigma/home($|/.*) { deny all; }
|
||||
</code></pre>
|
||||
|
||||
<p>Open file <code>/etc/nginx/templates/roundcube-subdomain.tmpl</code>, find <code>location</code>
|
||||
|
|
Loading…
Reference in New Issue