Welcome! Log In Create A New Profile

Advanced

Passing variables to perl modules in nginx.conf:

Engin Akyol
January 26, 2012 04:28AM
Hello,

Is it possible to pass variables to embedded perl modules via
nginx.conf and if so how would that be done? For instance(approx):


http {
perl_modules perl/lib;
perl_require My::super_task.pm;
}

Server{
location @important_task{

perl My::super_task "A";
}
}

-Thanks

/e

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Passing variables to perl modules in nginx.conf:

Engin Akyol January 26, 2012 04:28AM

Re: Passing variables to perl modules in nginx.conf:

Alexandr Gomoliako January 26, 2012 08:34AM

Re: Passing variables to perl modules in nginx.conf:

Engin Akyol January 26, 2012 03:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready