Skip to content

Commit f4bb181

Browse files
committed
- Added SquirrelMail alias to ISPConfig nginx vhost.
1 parent b74c686 commit f4bb181

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

install/tpl/nginx_ispconfig.vhost.master

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,24 @@ server {
4848
location /phpMyAdmin {
4949
rewrite ^/* /phpmyadmin last;
5050
}
51+
52+
location /squirrelmail {
53+
root /usr/share/;
54+
index index.php index.html index.htm;
55+
location ~ ^/squirrelmail/(.+\.php)$ {
56+
try_files $uri =404;
57+
root /usr/share/;
58+
fastcgi_pass 127.0.0.1:9000;
59+
{ssl_comment}fastcgi_param HTTPS {fastcgi_ssl};
60+
fastcgi_index index.php;
61+
fastcgi_param SCRIPT_FILENAME $request_filename;
62+
include /etc/nginx/fastcgi_params;
63+
}
64+
location ~* ^/squirrelmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
65+
root /usr/share/;
66+
}
67+
}
68+
location /webmail {
69+
rewrite ^/* /squirrelmail last;
70+
}
5171
}

0 commit comments

Comments
 (0)