Browse Source

Use NGINX lookup conf path or fallback

susefix
George Robinson 8 years ago
parent
commit
0dcd4feb28
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nginx/ng/src.sls

+ 1
- 1
nginx/ng/src.sls View File

@@ -29,7 +29,7 @@ nginx_download:

nginx_configure:
cmd.run:
- name: ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf {{ nginx.source.opts | join(' ') }}
- name: ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path={{ nginx.lookup.conf_file or '/etc/nginx/nginx.conf' }} {{ nginx.source.opts | join(' ') }}
- cwd: /tmp/nginx-{{ nginx.source_version }}
- require:
- archive: nginx_download

Loading…
Cancel
Save