3 ms·
I've been using a pubcookie module (http://www.vitki.net/book/page/pubcookie-module-nginx http://www.vitki.net/book/page/pubcookie-module-nginx) to do authentic
by regecks 13y ago
I've been using a pubcookie module (http://www.vitki.net/book/page/pubcookie-module-nginx http://www.vitki.net/book/page/pubcookie-module-nginx) to do authentication across multiple subdomains (x.example.org, y.example.org, z.example.org). The idea being, you only have to authenticate to one of them in order to access any of them.
However, the module hasn't been updated in forever, and to build it in recent versions of nginx, I have to turn certain CFLAGS off (i.e. Werror).
Does ngx_http_auth_request_module seem like it could do pubcookie's job? Or perhaps, can I approach this problem using ngx_lua?