Change lua include location

This commit is contained in:
Dryusdan 2024-01-02 09:53:27 +01:00
parent 3c70ece33e
commit 0f38850a07
5 changed files with 1 additions and 8 deletions

View File

@ -100,6 +100,7 @@ http {
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/crowdsec_nginx.conf;
include /etc/nginx/sites-enabled/*;
}

View File

@ -10,8 +10,6 @@ server {
access_log /var/log/nginx/{{ item.server_name[0] }}.access.log combined buffer=20m flush=5m;
error_log /var/log/nginx/{{ item.server_name[0] }}.error.log warn;
include /etc/nginx/conf.d/crowdsec_nginx.conf;
{% include 'partials/ssl.j2' %}
{% if item.extra_parameters is defined %}

View File

@ -10,8 +10,6 @@ server {
access_log /var/log/nginx/{{ item.server_name[0] }}.access.log combined buffer=20m flush=5m;
error_log /var/log/nginx/{{ item.server_name[0] }}.error.log warn;
include /etc/nginx/conf.d/crowdsec_nginx.conf;
{% include 'partials/ssl.j2' %}
{% include 'partials/errors.j2' %}

View File

@ -7,8 +7,6 @@ server {
access_log /var/log/nginx/{{ item.server_name[0] }}.access.log combined; # buffer=20m flush=5m;
error_log /var/log/nginx/{{ item.server_name[0] }}.error.log;
include /etc/nginx/conf.d/crowdsec_nginx.conf;
include /etc/nginx/conf.d/proxy.conf;
{% include 'partials/ssl.j2' %}

View File

@ -5,8 +5,6 @@ server {
access_log /dev/null;
error_log /dev/null;
include /etc/nginx/conf.d/crowdsec_nginx.conf;
{% include 'partials/ssl.j2' %}
{% if item.extra_parameters is defined %}