mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-13 18:06:01 +00:00
[Nginx] Move conf.d include before SNI vhosts
This commit is contained in:
@@ -182,6 +182,8 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/conf.d/*.conf;
|
||||||
|
|
||||||
{% for cert in valid_cert_dirs %}
|
{% for cert in valid_cert_dirs %}
|
||||||
server {
|
server {
|
||||||
{% if not HTTP_REDIRECT %}
|
{% if not HTTP_REDIRECT %}
|
||||||
@@ -206,6 +208,4 @@ http {
|
|||||||
include /etc/nginx/includes/sites-default.conf;
|
include /etc/nginx/includes/sites-default.conf;
|
||||||
}
|
}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
include /etc/nginx/conf.d/*.conf;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user