Re: include file with "if" statements

2016-05-18 Thread w_boba
Thank you for the direction where to look. You were right. It was too wide of a wildcard in http{} section outside of server/location. Fixed now. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266986,266991#msg-266991 ___ nginx mailing list

include file with "if" statements

2016-05-18 Thread w_boba
I have several different "templates" for location and most of templates have common part like this: -- /etc/nginx/nginx.conf: http { include /etc/nginx/conf.d/*.conf; } -- /etc/nginx/conf.d/config12345.conf: server { listen 12345; location / {