I am new to nginx. I have a variable set $myuser and updating the value ngx.var.myuser inside rewrite_by_lua. I want to pass this as a header in proxy ...
I am new to nginx. I have a variable set $myuser and updating the value ngx.var.myuser inside rewrite_by_lua. I want to pass this as a header in proxy ...
I am trying to access a localhost service (http://localhost/foo/hostname) using an open resty lua script using proxy_pass in the wsl-Ubuntu running in ...
I'm trying to redirect a URL with nginx and at the same time, mirror the request to another location block. the mirror works fine when I use it with p ...
OpenResty lua-resty-string: Unable to decrypt data which can be decrypted by Golang and Python https://github.com/openresty/lua-resty-string I can de ...
On my Nginx server, I have some unwanted log : Is it possible to remove those log ? If not, could you please help me understand how to change http ...
I need to active/inactive 'updating' params of proxy_cache_use_stale directive based on a cookie value in Nginx. This is the normal config I chang ...
I have a website running where I use Nginx Proxy Manager to redirect to this website. However, as soon as I hit my website I get the following message ...
We have a OpenResty, Nginx and Redis stack. I have a location block in my nginx.conf which doesn't reponse to any changes I do. I have a Lua module f ...
I have been using openresty nginx for simple request forwarding purpose, it is working as expected, i am forwarding each incoming request to another U ...
I want to pass a client certificate to a subrequest with ngx.location.capture. However, with the following function, the client certificate seems to d ...
I have been experimenting with the lua web framework, lapis, recently. My issue is that when I run lapis server, and try to connect to the website via ...
I'm trying to get status code from response application and send it to external api bit in access_by_lua_file ngx.status or ngx.var.status always retu ...
How can i create a healthcheck for container. I have nginx running as openresty container, and i am trying to create a health check. I followed the st ...
I am able to do SAML based authentication for a single URL of the application. IDP login is redirected and login is successful. But unable to generali ...
hi is it possible to include files with lua to nginx. for example lua connects to database if the value for brotli is on then it enables brotli and i ...
I am using OpenResty to generate SSL certificates dynamically. I am trying to find out the user-agent of request before running ssl_certificate_by_lua ...
Is it possible with Lua to set an NGINX variable within a location block to a value read from a file? I'm working with an NGINX container, deployed w ...
can someone help resolve my issue, i'm using (openresty) nginx + lua, and I need using Lua parse html data between <p> and put parsed value to v ...
I have a simple module called "firewall.lua" that I wrote that has a function firewall.check_ip(ip) which connects to localhost mysql and performs a q ...
I am using a simple server using openresty, and this is a proxy server that forwards incoming URLs to another domain If the incoming URL is a valid im ...