Skip to content

Commit 8b40629

Browse files
author
Kristan Kenney
committed
Fix force-ssl check for mail domains
1 parent 5df99d8 commit 8b40629

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/deb/templates/mail/apache2/default.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Alias /error/ %home%/%user%/web/%root_domain%/document_errors/
66
#SuexecUserGroup %user% %group%
77

8-
IncludeOptional %home%/%user%/conf/web/%root_domain%/apache2.forcessl.conf*
8+
IncludeOptional %home%/%user%/conf/mail/%root_domain%/apache2.forcessl.conf*
99

1010
<Directory "/usr/share/tinymce/www/">
1111
Options Indexes MultiViews FollowSymLinks

install/deb/templates/mail/nginx/default.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ server {
22
listen %ip%:%proxy_port%;
33
server_name %domain% %alias%;
44
5-
include %home%/%user%/conf/web/%domain%/nginx.forcessl.conf*;
5+
include %home%/%user%/conf/mail/%domain%/nginx.forcessl.conf*;
66
location / {
77
proxy_pass http://%ip%:%web_port%;
88
location ~* ^.+\.(jpg,jpeg,gif,png,ico,svg,css,zip,tgz,gz,rar,bz2,doc,xls,exe,pdf,ppt,txt,odt,ods,odp,odf,tar,wav,bmp,rtf,js,mp3,avi,mpeg,flv,html,htm)$ {

0 commit comments

Comments
 (0)