GUI / nginx-upstream-dynamic-servers

An nginx module to resolve domain names inside upstreams and keep them up to date.
MIT License
311 stars 74 forks source link

Add support for nginx 1.6.2 stable #2

Closed crosbymichael closed 8 years ago

crosbymichael commented 9 years ago

I'm looking into the issue but it seems simple for someone that knows the nginx api.

The error message is from ngx_http_upstream_server_t not having a name field in 1.6.2

/root/nginx/nginx-upstream-dyanmic-servers/ngx_http_upstream_dynamic_servers.c:212:5: error: ‘ngx_http_upstream_server_t’ has no member named ‘name’
   us->name = u.url;
     ^
`
GUI commented 8 years ago

Very sorry for the super-long delay! I was only targeting nginx 1.7 when I first built this, but any pull requests are welcome for older versions.