Writes configuration files for nginx based on running services and certificates
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

nginx.tpl 343B

12345678910111213
  1. {% for service in services %}
  2. server {
  3. server_name {{ ' '.join(service.vhosts) }};
  4. listen [::]:443 ssl http2;
  5. ssl_certificate {{ service.certificate }};
  6. ssl_certificate_key {{ service.certificate_key }};
  7. location / {
  8. proxy_pass {{ service.protocol }}://{{ service.host }}:{{ service.port }};
  9. }
  10. }
  11. {% endfor %}