nginx.ng - generated server configuration file is not included
Closed this issue · 4 comments
Poil commented
Hi,
On EL7, using nginx repository, with this simple test, this formula generate this configuration file /etc/nginx/conf.d/moten
But nginx.conf only include *.conf̀ in
conf.d`
include conf.d/*.conf;
include sites-enabled/*;
Pillar :
nginx:
ng:
install_from_repo: true
servers:
managed:
molten:
enabled: True
config:
- server:
- server_name: molten
- listen:
- 80
- default_server
- index:
- index.html
- location /:
- root: /opt/molten
pauldalewilliams commented
I ran into this same issue. Adding .conf to the name fixes it. So you'd use molten.conf under managed instead of just molten. Not sure why this is the behavior though given the example in pillar.example. This is my first time using the nginx formula and I'm only testing it on CentOS 7 right now.
noelmcloughlin commented
Duplicate of #48
noelmcloughlin commented
Actually it's not a duplicate.
noelmcloughlin commented
I found a bug - raised #209 to fix this.