Hack to fix NPM again
This commit is contained in:
parent
3b0cc2314d
commit
57ab4e48df
3 changed files with 9 additions and 0 deletions
0
roles/nginx-proxy-manager/files/_hsts_map.conf
Normal file
0
roles/nginx-proxy-manager/files/_hsts_map.conf
Normal file
|
@ -10,5 +10,6 @@ services:
|
|||
volumes:
|
||||
- ./data:/data
|
||||
- ./letsencrypt:/etc/letsencrypt
|
||||
- ./_hsts_map.conf:/app/templates/_hsts_map.conf
|
||||
environment:
|
||||
- AWS_CONFIG_FILE=/etc/letsencrypt/credentials/credentials-6
|
||||
|
|
|
@ -29,6 +29,14 @@
|
|||
owner: npm
|
||||
group: npm
|
||||
|
||||
- name: Put hsts hsts hack in place
|
||||
copy:
|
||||
src: files/_hsts_map.conf
|
||||
dest: /home/npm/npm/_hsts_map.conf
|
||||
mode: 0644
|
||||
owner: npm
|
||||
group: npm
|
||||
|
||||
- name: Start npm
|
||||
become: yes
|
||||
become_user: npm
|
||||
|
|
Loading…
Reference in a new issue