Skip to content
#

openresty

Here are 360 public repositories matching this topic...

sumory
sumory commented Jul 31, 2017

有同学经常提问针对application/x-www-form-urlencoded类型的post请求,在使用分流插件后获取不到post参数,大部分都是因为配置不当或者对Nginx相关知识点理解不清晰导致的。

下面介绍一个相关issue的正确配置:

  1. nginx.conf里配置一个upstream:
upstream business_upstream {
        server 127.0.0.1:8003;
}
  1. 然后配一个server用来作为business_upstream的服务提供者:
server {
        listen 8003;
        server_name localhost 127.0.0.1;
        access_log ./log
thenewguy
thenewguy commented Apr 8, 2020

It would be helpful if there were more examples for allow_domain. I.e. how to make an upstream http request and return true or false based on the response text. Another helpful example would be a shell script exit code.

akaegi
akaegi commented Jan 23, 2017

In particular I am missing in the docs:

  • Section Synopsis: explain what the effect is of calling waf:exec() in all of access_by_lua, header_filter_by_lua and body_filter_by_lua. why do you need to call waf:exec() in each of them?
  • Section Synopsis: it seems there is an error in log_by_lua. It seems to me it should rather log there and not call exec, as described by https://github.c

脑子发热去创业,血本无归赔的只剩裤衩一条,心灰意冷下开源代码,就当花钱促进社会发展吧。本游戏是一款策略卡牌游戏,类似少年西游记,少年三国志,我叫mt等卡牌游戏体系,客户端使用cocos2d-js-3.12,跨平台,界面使用cocosStudio编辑。服务端使用openresty,lua语言。经过严格测试,就差最后上线一哆嗦,没钱烧就流产了

  • Updated Dec 24, 2019
  • JavaScript

Improve this page

Add a description, image, and links to the openresty topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the openresty topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.