From c7a4b08ebb0bcaba209dbb8b01f601837778eb24 Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Mon, 7 Aug 2023 06:13:44 -0700 Subject: [PATCH] Fix nginx example and add http2 note. --- docs/examples/nginx_conf.yml | 3 ++- tasks/podman.yml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/nginx_conf.yml b/docs/examples/nginx_conf.yml index 372253e..7a07acf 100644 --- a/docs/examples/nginx_conf.yml +++ b/docs/examples/nginx_conf.yml @@ -24,10 +24,11 @@ - core: listen: - address: "{{ default_interface_ipv4_address|default(ansible_default_ipv4.address) }}:{{ nextcloud_https_port|default(4440) }} ssl" - http2: true include: - "/etc/nginx/acme_{{ inventory_hostname }}.conf" - /etc/nginx/nextcloud_template.conf + http2: # requires nginx_core.nginx_config >= 0.7.0 + enabled: true headers: add_headers: - name: X-Real-IP diff --git a/tasks/podman.yml b/tasks/podman.yml index 1124010..9143898 100644 --- a/tasks/podman.yml +++ b/tasks/podman.yml @@ -11,7 +11,6 @@ - name: Nextcloud | Create container containers.podman.podman_container: debug: no -# conmon_pidfile: "{{ nextcloud_pidfile }}" image: "{{ nextcloud_image }}:{{ nextcloud_version }}" image_strict: yes recreate: yes