Welcome! Log In Create A New Profile

Advanced

Get current location where the module's working

Hung Nguyen
August 19, 2015 05:52AM
Hello,

This seems to be a strange question, but I am writing a small module that need to get current location where it’s working, example:


location /special {
my_module;
enable on;
}


Inside my_module, I want to be able to get location —> will return “/special”. Can we do that?

Thanks,



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

Get current location where the module's working

Hung Nguyen 914 August 19, 2015 05:52AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 248
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