Writes configuration files for nginx based on running services and certificates
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

nginx.tpl 240B

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