mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-24 07:37:04 +00:00
Fix some stuff
This commit is contained in:
parent
49da79cbd9
commit
5f15c2e53b
@ -75,7 +75,7 @@
|
||||
# we're blocking dotfiles in the static hosted sites but not the FastCGI-
|
||||
# handled locations for Nextcloud (which serves user-uploaded files that might
|
||||
# have this pattern, see #414) or some of the other services.
|
||||
location ~ /\.(ht|svn|git|hg|bzr) {
|
||||
location ~ /\.(ht|svn|git|hg|bzr|.*\.conf) {
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
deny all;
|
||||
|
@ -100,7 +100,7 @@ def do_web_update(env):
|
||||
local_conf = f.read()
|
||||
|
||||
if domain not in has_root_proxy_or_redirect:
|
||||
local_conf = make_domain_config(domain, [template0, template1], ssl_certificates, env)
|
||||
local_conf = make_domain_config(domain, [template0, template4], ssl_certificates, env)
|
||||
else:
|
||||
local_conf = make_domain_config(domain, [template0], ssl_certificates, env)
|
||||
nginx_conf += local_conf
|
||||
|
Loading…
Reference in New Issue
Block a user