Skip to content

Commit

Permalink
Merge pull request #7 from elan-ev/debian-modules-path
Browse files Browse the repository at this point in the history
Use default modules config path on debian based systems
  • Loading branch information
lkiesow authored Jan 9, 2025
2 parents 3c63ece + 58e23eb commit b32aa5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

# Load dynamic modules. See /usr/share/nginx/README.dynamic.
{% if ansible_os_family == 'Debian' %}
include /etc/nginx/modules-enabled/*.conf;
{% else %}
include /usr/share/nginx/modules/*.conf;
{% endif %}

events {
# Sets the maximum number of simultaneous connections that can be opened by
Expand Down

0 comments on commit b32aa5a

Please # to comment.