File tree Expand file tree Collapse file tree 4 files changed +22
-67
lines changed
install/deb/templates/mail Expand file tree Collapse file tree 4 files changed +22
-67
lines changed Original file line number Diff line number Diff line change 11<VirtualHost %ip%:%web_ssl_port%>
22ServerName %domain_idn%
33ServerAlias %alias_idn%
4- Alias / /var/www/html/
5- Alias /error/ %home%/%user%/web/%root_domain%/document_errors/
6- #SuexecUserGroup %user% %group%
4+ DocumentRoot /var/www/html/
5+ Alias /error/ /var/www/document_errors/
76
87SSLEngine on
98SSLVerifyClient none
109SSLCertificateFile %home%/%user%/conf/mail/%root_domain%/ssl/%root_domain%.crt
1110SSLCertificateKeyFile %home%/%user%/conf/mail/%root_domain%/ssl/%root_domain%.key
12-
13- <Directory /var/www/html>
14- Options +FollowSymLinks
15- AllowOverride All
16- order allow,deny
17- allow from all
18- </Directory>
1911
20- IncludeOptional %home%/%user%/conf/mail/%root_domain%/%web_system%.conf_*
2112</VirtualHost>
Original file line number Diff line number Diff line change 11<VirtualHost %ip%:%web_port% >
22 ServerName %domain_idn%
33 ServerAlias %alias_idn%
4- Alias / / var/www/html
5- Alias /error/ %home%/%user%/web/%root_domain% /document_errors/
4+ DocumentRoot / var/www/html/
5+ Alias /error/ /var/www /document_errors/
66 #SuexecUserGroup %user% %group%
7-
8- IncludeOptional %home%/%user%/conf/mail/%root_domain%/apache2.forcessl.conf*
9-
10- <Directory /var /www /html >
11- Options +FollowSymLinks
12- AllowOverride All
13- order allow,deny
14- allow from all
15- </Directory >
16-
17- IncludeOptional %home%/%user%/conf/mail/%root_domain%/%web_system%.conf_*
187</VirtualHost >
Original file line number Diff line number Diff line change 11server {
2- listen %ip%:%proxy_ssl_port% ssl http2;
3- server_name %domain_idn% %alias_idn%;
4- root /var/www/html;
2+ listen %ip%:%proxy_ssl_port% ssl http2;
3+ server_name %domain_idn% %alias_idn%;
54 index index.php index.html index.htm;
65 access_log /var/log/nginx/domains/%domain%.log combined;
76 error_log /var/log/nginx/domains/%domain%.error.log error;
8-
7+
98 ssl_certificate %ssl_pem%;
109 ssl_certificate_key %ssl_key%;
1110 ssl_stapling on;
1211 ssl_stapling_verify on;
13-
12+
1413 location ~ /\.(?!well-known\/) {
1514 deny all;
1615 return 404;
1716 }
18-
17+
1918 location / {
20- try_files $uri $uri/ =404;
21- alias /var/www/html;
19+ proxy_pass http://%ip%:%web_port%;
2220 }
23-
24- location /error/ {
25- alias /var/www/document_errors/;
26- }
27-
28- location @fallback {
29- proxy_pass https://%ip%:%web_ssl_port%;
30- }
31-
32- include %home%/%user%/conf/mail/%root_domain%/%proxy_system%.conf_*;
33- }
21+ }
Original file line number Diff line number Diff line change 11server {
2- listen % ip% :% proxy_port% ;
3- server_name % domain_idn% % alias_idn% ;
4- root /var/www/html;
5- index index.php index.html index.htm;
6- access_log /var/log/nginx/domains/% domain% .log combined;
7- error_log /var/log/nginx/domains/% domain% .error.log error;
8-
9- ssl_stapling on;
10- ssl_stapling_verify on;
11-
2+ listen % ip% :% proxy_port% ;
3+ server_name % domain_idn% % alias_idn% ;
4+ index index.php index.html index.htm;
5+ access_log /var/log/nginx/domains/% domain% .log combined;
6+ error_log /var/log/nginx/domains/% domain% .error.log error;
7+
8+ include % home% /% user% /conf/mail/% root_domain% /nginx.forcessl.conf*;
9+
1210 location ~ /\.(?! well-known\/) {
1311 deny all;
1412 return 404;
1513 }
16-
14+
1715 location / {
18- try_files $uri $uri / =404;
19- alias /var/www/html;
16+ proxy_pass http://% ip% :% web_port% ;
2017 }
21-
22- location /error/ {
23- alias /var/www/document_errors/;
24- }
25-
26- location @fallback {
27- proxy_pass https://% ip% :% web_ssl_port% ;
28- }
29-
30- include %home%/%user%/conf/mail/%root_domain%/%proxy_system%.conf_*;
31- }
18+ }
You can’t perform that action at this time.
0 commit comments