Skip to content

Commit 22520bc

Browse files
author
Kristan Kenney
committed
Update index directive to include .htm and .html extensions
1 parent 3234423 commit 22520bc

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ server {
44
ssl_certificate %ssl_pem%;
55
ssl_certificate_key %ssl_key%;
66
root /var/lib/roundcube;
7-
index index.php;
7+
index index.php index.html index.htm;
88

99
location / {
1010
proxy_pass http://%ip%:%web_port%;

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
root /var/lib/roundcube;
5-
index index.php;
5+
index index.php index.html index.htm;
66
77
include %home%/%user%/conf/mail/%root_domain%/nginx.forcessl.conf*;
88

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ server {
44
ssl_certificate %ssl_pem%;
55
ssl_certificate_key %ssl_key%;
66
root /var/lib/roundcube;
7-
index index.php;
7+
index index.php index.html index.htm;
88

99
location =/ {
1010
try_files $uri $uri/ /index.php?q=$uri&$args;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ server {
22
listen %ip%:%web_port%;
33
server_name %domain% %alias%;
44
root /var/lib/roundcube;
5-
index index.php;
5+
index index.php index.html index.htm;
66
77
include %home%/%user%/conf/mail/%root_domain%/nginx.forcessl.conf*;
88
@@ -54,7 +54,6 @@ server {
5454

5555
location /error/ {
5656
alias /var/www/document_errors/;
57-
5857
}
5958

6059
include %home%/%user%/conf/mail/%root_domain%/%web_system%.conf_*;

0 commit comments

Comments
 (0)