Skip to content

Commit

Permalink
use stricter file permissions for acme.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Feb 9, 2024
1 parent 04fa572 commit 30292b2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions infrastructure/server-setup/tasks/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
state: touch
owner: root
group: application
# Owner has rwx, group r, others no permissions
mode: '0740'
# Owner has rw, others no permissions
mode: '0600'

- name: 'Create certs directory for traefik'
file:
path: /data/traefik/certs
state: directory
mode: '700'
owner: root
group: application
# Owner has rwx, group r, others no permissions
mode: '0740'
mode: '0740'

0 comments on commit 30292b2

Please sign in to comment.