feat: media configuration with cert header

This commit is contained in:
2023-05-28 17:06:53 +02:00
parent 9a200e1197
commit 5cb291bdfd
5 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
- name: Install Nginx
apt:
pkg:
- nginx
state: present
- name: Deploy nginx-config (page)
copy:
src: nginx_media.conf
dest: /etc/nginx/sites-available/media.conf
notify: restart nginx
- name: Deploy nginx basic auth file
copy:
src: htpasswd
dest: /etc/nginx/
notify: restart nginx