aboutsummaryrefslogtreecommitdiff
path: root/services/templates/nginx/conf.d/mail.conf.template
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-24 02:18:20 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-26 02:21:41 +0800
commit0c885ba1bf30ce8308880f926be85b6f5a499fa6 (patch)
tree25f42a9386f760c9d7d47d9b154e4a0089e49dff /services/templates/nginx/conf.d/mail.conf.template
parentdc7b27c713351066e20947ea6d1adb80aeb68d9f (diff)
downloadcrupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.tar.gz
crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.tar.bz2
crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.zip
feat(www): YEAH!
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/;