Sfoglia il codice sorgente

Merge pull request #124 from grobinson-blockchain/master

Fix overwrite check testing the name of the vhost rather than setting…
susefix
Forrest 8 anni fa
parent
commit
5e4575d702
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      nginx/ng/vhosts_config.sls

+ 1
- 1
nginx/ng/vhosts_config.sls Vedi File

@@ -94,7 +94,7 @@ nginx_vhost_available_dir:
- template: jinja
- context:
config: {{ settings.config|json() }}
{% if 'overwrite' in vhost and vhost.overwrite == False %}
{% if 'overwrite' in settings and settings.overwrite == False %}
- unless:
- test -e {{ vhost_curpath(vhost) }}
{% endif %}

Loading…
Annulla
Salva