Writes configuration files for nginx based on running services and certificates
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314 |
- {% for service in services %}
- server {
- server_name {{ ' '.join(service.vhosts) }};
- listen [::]:443 ssl http2;
- listen 443 ssl http2;
-
- ssl_certificate {{ service.certificate }};
- ssl_certificate_key {{ service.certificate_key }};
-
- location / {
- proxy_pass {{ service.protocol }}://{{ service.host }}:{{ service.port }};
- }
- }
- {% endfor %}
|