Skip to content

Commit

Permalink
proxycache: Ajout option dedicated_certbot_cert sur nginx-site-peertu…
Browse files Browse the repository at this point in the history
…be.j2
  • Loading branch information
jocelynj committed Aug 30, 2024
1 parent 34dcdcf commit c1b9020
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion roles/proxycache/templates/nginx-site-peertube.j2
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
{% if item.dedicated_certbot_cert is defined %}
ssl_certificate /etc/letsencrypt/live/{{ item.websites.split(' ')[0] }}/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/{{ item.websites.split(' ')[0] }}/privkey.pem; # managed by Certbot
{% endif %}
}

0 comments on commit c1b9020

Please sign in to comment.