Writes configuration files for nginx based on running services and certificates
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
12345678910 |
- {% for service in services %}
- server {
- server_name {{ service.vhost }};
- listen [::]:443 ssl http2;
-
- location / {
- proxy_pass {{ service.protocol }}://{{ service.host }}:{{ service.port }};
- }
- }
- {% endfor %}
|