Initial commit with working nginx and jellyfin
This commit is contained in:
2
roles/nginx/handlers/main.yml
Normal file
2
roles/nginx/handlers/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
- name: reload nginx
|
||||
command: docker restart nginx
|
12
roles/nginx/tasks/main.yml
Normal file
12
roles/nginx/tasks/main.yml
Normal file
@ -0,0 +1,12 @@
|
||||
- name: run nginx container
|
||||
docker_container:
|
||||
name: 'nginx'
|
||||
image: nginx
|
||||
volumes:
|
||||
- "{{ nginx_confd_folder }}:/etc/nginx/conf.d"
|
||||
ports:
|
||||
- "80:80"
|
||||
env:
|
||||
NGINX_HOST: "{{ base_domain }}"
|
||||
NGINX_PORT: '80'
|
||||
state: started
|
Reference in New Issue
Block a user