Re: nginx custom module multi process help

2016-06-16 Thread de_nginx_noob
I will definitely join the google group and check out Lua. Thanks for your help! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267611,267654#msg-267654 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx custom module multi process help

2016-06-16 Thread de_nginx_noob
If the external server that I'm getting the data from doesn't have a relational database (and instead responds to udp requests), will I still be able to cache multiple fields from one udp request using Lua so that I can access them in the conf file later? Can you clarify what you mean by Lua cache?

nginx custom module multi process help

2016-06-15 Thread de_nginx_noob
Hi, I'm new to nginx development and I have to work on a custom nginx module. The module is designed to provide a list of variables for the user to use in the nginx.conf file. Whenever those variables are used, the module makes a udp request to a helper server to get the correct value of that var

Re: Error after ./configure -> No rule to make target "src/os/unix/ngx_gcc_atomic_x86.h"

2015-11-11 Thread de_nginx_noob
The weird thing is that the code I've been testing has been compiling fine for the past week or so and I haven't changed anything in the module config file. What would I have screwed up in the module config file? ngx_addon_name=ngx_http_netacuity_module HTTP_MODULES="$HTTP_MODULES ngx_http_netacui

Re: Custom Module Directive is Duplicate? Error in conf?

2015-11-02 Thread de_nginx_noob
I understand now. Thank You! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262425,262566#msg-262566 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Error after ./configure -> No rule to make target "src/os/unix/ngx_gcc_atomic_x86.h"

2015-10-30 Thread de_nginx_noob
I get this error when using the make command. I've been writing and testing my custom module for a few days now and this has never happened before. I can't seem to figure out what's causing the issue - maybe something in my code? [root@dev-centos-7-nginx nginx-1.6.3]# ./configure --add-module=/ro

Re: Custom Module Directive is Duplicate? Error in conf?

2015-10-23 Thread de_nginx_noob
Tried setting featureCode in the create_conf function to -1 and somehow that fixed it? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262425,262426#msg-262426 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/n

Custom Module Directive is Duplicate? Error in conf?

2015-10-23 Thread de_nginx_noob
After compiling a test module that sets a variable equal to "test successful", I get a "directive is duplicate in (path to conf file)" #include #include #include //#include //#include #define MAX_STRING_LEN 256 // static char *ngx_http_netacuity(ngx_conf_t *cf, void *post, void *data); //

Understanding GeoIP module source?

2015-10-20 Thread de_nginx_noob
Unforunately, I got assigned the task of writing a module that takes the the IP address of every http request's client and running some proprietary algorithm to determine to generate geolocation data (similar to Maxmind, but more detailed). I was told to use the geoip module as a base for my custom

Re: Help with location context?

2015-10-18 Thread de_nginx_noob
Thank You! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262279,262305#msg-262305 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Help with location context?

2015-10-16 Thread de_nginx_noob
So this is my nginx.conf file : http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log mai