repo init

This commit is contained in:
mpavlov
2024-09-29 01:35:45 +03:00
parent 9cca9c8ec9
commit 42a176bd7c
3 changed files with 10 additions and 2 deletions

View File

@@ -51,6 +51,12 @@
path: "{{ rproxy_dir }}/sites"
state: directory
- name: Create repo dir
ansible.builtin.file:
path: "{{ rproxy_dir }}/repo"
state: directory
mode: 0777
- name: Create certs dir
ansible.builtin.file:
path: "{{ rproxy_dir }}/certs"

View File

@@ -9,6 +9,8 @@ services:
- {{ rproxy_dir }}/nginx.conf:/etc/nginx/nginx.conf
- {{ rproxy_dir }}/sites:/etc/nginx/sites
- {{ rproxy_dir }}/certs:/etc/nginx/certs
- {{ rproxy_dir }}/certs:/repo
ports:
- 443:443
- 80:80
- 80:80
- 9000:9000