aboutsummaryrefslogtreecommitdiff
path: root/services/templates/nginx/conf.d/mail.conf.template
diff options
context:
space:
mode:
Diffstat (limited to 'services/templates/nginx/conf.d/mail.conf.template')
-rw-r--r--services/templates/nginx/conf.d/mail.conf.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/templates/nginx/conf.d/mail.conf.template b/services/templates/nginx/conf.d/mail.conf.template
index 2eb53d7..c115c2e 100644
--- a/services/templates/nginx/conf.d/mail.conf.template
+++ b/services/templates/nginx/conf.d/mail.conf.template
@@ -2,6 +2,10 @@ server {
server_name mail.@@CRUPEST_DOMAIN@@;
include common/https-listen;
+ location = /robots.txt {
+ root /srv/mail;
+ }
+
location / {
include common/proxy-common;
proxy_pass http://roundcubemail:80/;