copr: frontend: fix selinux context for letsencrypt, see d6b034984
This commit is contained in:
parent
2a3a7c65ce
commit
ac127ff44d
1 changed files with 8 additions and 3 deletions
|
@ -21,9 +21,14 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: Set SELinux context for certs generation
|
- name: certbot, correct fcontext mapping the web root
|
||||||
sefcontext:
|
sefcontext:
|
||||||
target: "/srv/web/acme-challenge/.well-known"
|
target: '/srv/web/acme-challenge/.well-known(/.*)'
|
||||||
setype: httpd_sys_content_t
|
setype: httpd_sys_content_t
|
||||||
state: present
|
state: present
|
||||||
when: devel
|
|
||||||
|
- name: certbot, restorecon the web root
|
||||||
|
file:
|
||||||
|
path: /srv/web/acme-challenge/.well-known
|
||||||
|
state: directory
|
||||||
|
setype: httpd_sys_content_t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue