Solved bugs occuring during setup of yourls

This commit is contained in:
2024-01-03 15:46:28 +01:00
parent 9c81a48f17
commit ce053a0b58
32 changed files with 52 additions and 41 deletions

View File

@@ -4,6 +4,13 @@
notify: restart nginx
when: run_once_nginx is not defined
- name: install nginx-mod-headers-more for matomo
pacman:
name: nginx-mod-headers-more
state: present
notify: restart nginx
when: run_once_nginx is not defined and nginx_matomo_tracking | bool
- name: Ensure nginx configuration directories are present
file:
path: "{{ item }}"

View File

@@ -1,4 +1,7 @@
{% if nginx_matomo_tracking | bool %}
load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;
{% endif %}
worker_processes auto;
events