openresty Questions
2
Solved
As a novice web developer, I tend to use Nginx when deploying & running my Larvel PHP sites.
I've recently come across OpenResty and, from what I believe, it appears to be webserver software li...
2
Solved
I'm using OpenResty and my app is setup as:
app/
clients/
photoClient.lua
init.lua
auth.lua
Let's say photoClient has both an unauthenticated and a authenticated endpoint (similar to an avat...
2
In the X-WAF deployment, you need to create a new nginx configuration file. However, when testing the nginx configuration, an error is found and nginx cannot be started.
I refer to http://blog.51c...
Pneumatic asked 1/2, 2019 at 14:22
4
Solved
I don't use Lua, but need to use it with Openresty (nginx) as provided in the link.
Openresty has a lua module which I managed to install and run the Openresty nginx version correctly, the website ...
Thompkins asked 2/2, 2021 at 11:0
2
I am using Openresty as a server. I have the configuration file of the nginx as per the https://eclipsesource.com/blogs/2018/01/11/authenticating-reverse-proxy-with-keycloak/.
I am getting follow...
Companion asked 17/3, 2018 at 15:11
2
Solved
I have a question regarding NGINX rate limiting.
Is it possible to do rate limiting based on the decoded value of JWT token? I cannot find any information like this in the docs.
Or even if there is...
Porbeagle asked 8/10, 2020 at 13:45
2
I am trying to compress response bodies for certain endpoints using gzip in nginx. The problem is with nginx marking the upstream apps generated etags as weak(prefixed with "W/"). The upstream apps...
4
Solved
I mean add an upstream but not a server in an upstream.
That means I don't have an upstream block like:
upstream backend {
# ...
}
I want create an upstream block dynamically. That is somethin...
0
When invoking other services through HTTP in my app, parsing DNS is occurring every time. At the beginning, parsing DNS was normal and there was no timeout, but after a while, parsing DNS timeouts ...
1
Solved
I have Nginx/openresty and some other services running on one VM. Basically VM accepts requests on Openresty and then openresty forwards requests to appropriate service. e.g. below requests getting...
Room asked 17/9, 2017 at 18:28
2
My problem
I am using openresty to build a simple server.
Upon calling this server, it should make another call to a different server, fetch a JSON result, process it and return the parsed result.
...
2
I have a reverse proxy setup with nginx.
Client ------> Nginx ------------------------------------> Backend Server
<------ <-----------------------------------
(I want to see the req...
Chandlery asked 15/7, 2017 at 4:42
2
Solved
I'm trying to set multiple cookies, but it's not working:
if type(ngx.header["Set-Cookie"]) ~= "table" then
ngx.header["Set-Cookie"] = {}
end
table.insert(ngx.header["Set-Cookie"], "Cookie1=abc; ...
Martinmas asked 17/5, 2017 at 6:10
1
Solved
I have some Lua code, which I use in my openresty nginx.conf file. This Lua code contains such lines:
...
local secret = os.getenv("PATH")
assert(secret ~= nil, "Environment variable PATH not set"...
2
Solved
I'd like to redirect a URL to a Django platform (via uwsgi) if and only if a cookie exists. Failing that, I need to defer execution to the content_by_lua plugin.
Below is my attempt at such logic:...
2
Solved
I want to setup a unit test environment for my product. I have a web application build on nginx in Lua which use mysql and redis. I think docker will be good for this although i am new to docker. M...
Incubator asked 23/12, 2015 at 11:23
1
© 2022 - 2024 — McMap. All rights reserved.