Welcome! Log In Create A New Profile


shebang configs

Posted by zdm 
shebang configs
March 30, 2012 07:53PM
It would be nice to have shebang configs in nginx.
If config file have shebang string, then nginx run this config through corresponding interpeter and read real config from stdout.

For example:

/usr/local/sbin/nginx -c nginx.conf

nginx.conf content:

print "
worker_processes 1;
pcre_jit on;
events {
worker_connections 1024;

This should be work with config files, used by include directive also.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 83
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready