Writes configuration files for nginx based on running services and certificates
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
12345678910111213 |
- {% for service in services %}
- server {
- server_name {{ ' '.join(service.vhosts) }};
- listen [::]:443 ssl http2;
-
- ssl_certificate {{ service.certificate }};
- ssl_certificate_key {{ service.certificate_key }};
-
- location / {
- proxy_pass {{ service.protocol }}://{{ service.host }}:{{ service.port }};
- }
- }
- {% endfor %}
|