Feat: mount /var/www/html to the nginx container and add config to protect against CVE-2019-11043

This commit is contained in:
Ana Custura 2025-08-08 17:08:43 +01:00
parent 7ea092737a
commit 09cbf70e13
2 changed files with 9 additions and 1 deletions

View file

@ -79,6 +79,10 @@
podman_nginx_primary_hostname: "{{ podman_cleaninsights_web_hostname }}"
podman_nginx_systemd_service_slice: cleaninsights.slice
podman_nginx_systemd_service_requires: ["matomo"]
podman_nginx_additional_volumes:
- src: "/home/{{ podman_cleaninsights_podman_rootless_user }}/matomo"
dest: "/var/www/html"
options: "ro"
- name: create nginx configuration file
ansible.builtin.template: