Change Nginx templates
This commit is contained in:
1
data/conf/nginx/server_name.active
Normal file
1
data/conf/nginx/server_name.active
Normal file
@@ -0,0 +1 @@
|
||||
server_name logs.servercow.de autodiscover.* autoconfig.*;
|
@@ -13,7 +13,7 @@ server {
|
||||
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains";
|
||||
ssl_ecdh_curve secp384r1;
|
||||
index index.php index.html;
|
||||
server_name _ autodiscover.* autoconfig.*;
|
||||
include /etc/nginx/conf.d/server_name.active;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
root /web;
|
||||
@@ -148,7 +148,7 @@ server {
|
||||
charset utf-8;
|
||||
override_charset on;
|
||||
index index.php index.html;
|
||||
server_name _ autodiscover.* autoconfig.*;
|
||||
include /etc/nginx/conf.d/server_name.active;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
root /web;
|
||||
@@ -277,4 +277,4 @@ server {
|
||||
#alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
1
data/conf/nginx/templates/server_name.template
Normal file
1
data/conf/nginx/templates/server_name.template
Normal file
@@ -0,0 +1 @@
|
||||
server_name ${MAILCOW_HOSTNAME} autodiscover.* autoconfig.*;
|
Reference in New Issue
Block a user