Optimized peertube

This commit is contained in:
2025-05-20 17:40:24 +02:00
parent 97b9e19c5b
commit 6026d7ec03
5 changed files with 41 additions and 19 deletions

View File

@@ -3,11 +3,11 @@
include_role:
name: nginx-https-get-cert-modify-all
vars:
domain: "{{domains | get_domain(application_id)}}"
domain: "{{ domains | get_domain(application_id) }}"
http_port: "{{ ports.localhost.http[application_id] }}"
- name: "generate {{domains | get_domain(application_id)}}.conf"
template:
src: "nginx.conf.j2"
dest: "{{nginx.directories.http.servers}}{{domains | get_domain(application_id)}}.conf"
dest: "{{ nginx.directories.http.servers }}{{ domains | get_domain(application_id) }}.conf"
notify: restart nginx