summaryrefslogtreecommitdiffstats
path: root/roles/webmail/files/etc/nginx/sites-available/roundcube
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-12-20 13:59:39 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-12-20 13:59:39 +0100
commit01e59771866559cc13a58800282617d04cb286a6 (patch)
treea1772ca3ce7bde38d1c96a4855db504b6ab8ec96 /roles/webmail/files/etc/nginx/sites-available/roundcube
parent74943c88f1a0de34ca593dafe5b0785c7ee7a95e (diff)
nginx: Move include.d/* to snippets/.
Diffstat (limited to 'roles/webmail/files/etc/nginx/sites-available/roundcube')
-rw-r--r--roles/webmail/files/etc/nginx/sites-available/roundcube8
1 files changed, 2 insertions, 6 deletions
diff --git a/roles/webmail/files/etc/nginx/sites-available/roundcube b/roles/webmail/files/etc/nginx/sites-available/roundcube
index fe67615..1297834 100644
--- a/roles/webmail/files/etc/nginx/sites-available/roundcube
+++ b/roles/webmail/files/etc/nginx/sites-available/roundcube
@@ -19,10 +19,7 @@ server {
server_name mail.fripost.org;
root /var/lib/roundcube;
- include include.d/ssl;
- # include the intermediate certificate, see
- # - https://www.ssllabs.com/ssltest/analyze.html?d=mail.fripost.org
- # - http://nginx.org/en/docs/http/configuring_https_servers.html
+ include snippets/ssl.conf;
ssl_certificate /etc/nginx/ssl/mail.fripost.org.chained.pem;
ssl_certificate_key /etc/nginx/ssl/mail.fripost.org.key;
@@ -49,8 +46,7 @@ server {
index index.php;
client_max_body_size 64m;
location = /index.php {
- include fastcgi/php;
- include fastcgi/php-ssl;
+ include snippets/fastcgi-php-ssl.conf;
# From /var/lib/roundcube/.htaccess
fastcgi_param PHP_VALUE "upload_max_filesize=25M