Update Traefik syntax and add nginx SELinux perm
This commit is contained in:
parent
d2473533d5
commit
bda79d0b37
@ -60,7 +60,7 @@ services:
|
|||||||
WORDPRESS_DB_USER: ${WORDPRESS_DB_USER:-wordpress}
|
WORDPRESS_DB_USER: ${WORDPRESS_DB_USER:-wordpress}
|
||||||
WORDPRESS_DB_PASSWORD: ${WORDPRESS_DB_PASSWORD}
|
WORDPRESS_DB_PASSWORD: ${WORDPRESS_DB_PASSWORD}
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.wordpress.rule: Host(`${WORDPRESS_DOMAIN:-www.local.freeitathens.org}`,`${TRAEFIK_ACME_DOMAIN_MAIN:-local.freeitathens.org}`)
|
traefik.http.routers.wordpress.rule: Host(`${WORDPRESS_DOMAIN:-www.local.freeitathens.org}`) || Host(`${TRAEFIK_ACME_DOMAIN_MAIN:-local.freeitathens.org}`)
|
||||||
traefik.http.routers.wordpress.entrypoints: websecure
|
traefik.http.routers.wordpress.entrypoints: websecure
|
||||||
traefik.http.routers.wordpress.middlewares: "wwwredirect"
|
traefik.http.routers.wordpress.middlewares: "wwwredirect"
|
||||||
traefik.http.routers.wordpress.tls: true
|
traefik.http.routers.wordpress.tls: true
|
||||||
|
@ -72,6 +72,12 @@
|
|||||||
state: present
|
state: present
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
|
- name: Allow nginx to make network connections
|
||||||
|
ansible.posix.seboolean:
|
||||||
|
name: httpd_can_network_connect
|
||||||
|
state: true
|
||||||
|
persistent: true
|
||||||
|
|
||||||
- name: Deploy nginx proxy config
|
- name: Deploy nginx proxy config
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: nginx.conf
|
src: nginx.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user