Fix nginx example and add http2 note.

This commit is contained in:
Brian Lee 2023-08-07 06:13:44 -07:00
parent 3d98730097
commit c7a4b08ebb
2 changed files with 2 additions and 2 deletions

View File

@ -24,10 +24,11 @@
- core: - core:
listen: listen:
- address: "{{ default_interface_ipv4_address|default(ansible_default_ipv4.address) }}:{{ nextcloud_https_port|default(4440) }} ssl" - address: "{{ default_interface_ipv4_address|default(ansible_default_ipv4.address) }}:{{ nextcloud_https_port|default(4440) }} ssl"
http2: true
include: include:
- "/etc/nginx/acme_{{ inventory_hostname }}.conf" - "/etc/nginx/acme_{{ inventory_hostname }}.conf"
- /etc/nginx/nextcloud_template.conf - /etc/nginx/nextcloud_template.conf
http2: # requires nginx_core.nginx_config >= 0.7.0
enabled: true
headers: headers:
add_headers: add_headers:
- name: X-Real-IP - name: X-Real-IP

View File

@ -11,7 +11,6 @@
- name: Nextcloud | Create container - name: Nextcloud | Create container
containers.podman.podman_container: containers.podman.podman_container:
debug: no debug: no
# conmon_pidfile: "{{ nextcloud_pidfile }}"
image: "{{ nextcloud_image }}:{{ nextcloud_version }}" image: "{{ nextcloud_image }}:{{ nextcloud_version }}"
image_strict: yes image_strict: yes
recreate: yes recreate: yes