Skip to content

Commit 854371c

Browse files
author
Kristan Kenney
committed
Update formatting of SSL blocks in webmail templates
1 parent 7e1755d commit 854371c

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
server {
22
listen %ip%:%proxy_ssl_port% ssl http2;
33
server_name %domain% %alias%;
4-
ssl_certificate %ssl_pem%;
5-
ssl_certificate_key %ssl_key%;
6-
ssl_stapling on;
7-
ssl_stapling_verify on;
84
root /var/lib/roundcube;
95
index index.php index.html index.htm;
106
access_log /var/log/nginx/domains/%domain%.log combined;
117
error_log /var/log/nginx/domains/%domain%.error.log error;
128

9+
ssl_certificate %ssl_pem%;
10+
ssl_certificate_key %ssl_key%;
11+
ssl_stapling on;
12+
ssl_stapling_verify on;
13+
1314
location ~ /\.(?!well-known\/) {
1415
deny all;
1516
return 404;

install/deb/templates/mail/nginx/web_system.stpl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
server {
22
listen %ip%:%web_ssl_port% ssl http2;
33
server_name %domain% %alias%;
4-
ssl_certificate %ssl_pem%;
5-
ssl_certificate_key %ssl_key%;
64
root /var/lib/roundcube;
75
index index.php index.html index.htm;
86
access_log /var/log/nginx/domains/%domain%.log combined;
97
error_log /var/log/nginx/domains/%domain%.error.log error;
108

9+
ssl_certificate %ssl_pem%;
10+
ssl_certificate_key %ssl_key%;
11+
ssl_stapling on;
12+
ssl_stapling_verify on;
13+
1114
location ~ /\.(?!well-known\/) {
1215
deny all;
1316
return 404;

0 commit comments

Comments
 (0)