1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

More hardening

This commit is contained in:
Florent Daigniere
2022-11-12 15:34:43 +01:00
parent ad17b10c8e
commit 225322fe88
2 changed files with 5 additions and 1 deletions

View File

@@ -2,7 +2,11 @@ server {
listen 80 default_server;
listen [::]:80 default_server;
{% if WEBMAIL == 'roundcube' %}
root /var/www/{{ WEBMAIL }}/public_html;
{% else %}
root /var/www/{{ WEBMAIL }};
{% endif %}
include /etc/nginx/mime.types;