Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 0.834 kb
# more or less zeroconf for roundcube, assuming the rest is ok
# (php fastcgi spawned, roundcube installed
server {
listen 443; ## listen for ipv4
# catch all based on the domain name
server_name ~^mx;
access_log /var/log/nginx/webmail.access.log;
error_log /var/log/nginx/webmail.error.log;
# can be created with certs/
ssl on;
ssl_certificate certs/webmail.pem;
ssl_certificate_key certs/webmail.key;
ssl_session_timeout 5m;
# set for roundcube
root /var/lib/roundcube/;
index index.php;
autoindex off;
allow all;
location ~ \.*php$ {
allow all;
# fastcgi_params is part of nginx-common
include fastcgi_params;
fastcgi_index index.php;
location /config { deny all; }
location /temp { deny all; }
location /logs { deny all; }
Jump to Line
Something went wrong with that request. Please try again.