Using environment vars in nginx-site.conf #128
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ric/nginx-php-fpm#128
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm trying and failing to do something like this in my nginx config.
Problem is that 'env' can't be used here because we're not at the top level of the .conf file.
nginx: [emerg] "env" directive is not allowed here in /etc/nginx/sites-enabled/default.conf:1Ideally I'd be able to have a local version of nginx.conf in /var/wwww/html/conf, as well as the individual sites-enabled files. Does that suggestion make any sense?
(Also http_lua_module isn't included, but I guess I can use perl instead...)
Makes sense we'll look into it
hi @roddypratt lua support is coming in 1.30, I'm doing final testing now and will push the release version shortly