SUN☀
SUN☀
> User-Agent: curl/7.30.0 > Host: testtest.com:8899 > Accept: */* > Content-Length: 336 > Content-Type: application/x-www-form-urlencoded > * upload completely sent off: 336 out of 336 bytes < HTTP/1.1 410 Gone...
STEP1: #index.html normal configuration location / { index index.php index.html index.htm; } #index.php you should configure like this location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include...
Tengine XQUIC怎么样了?
看起来产生段错误函数为**ngx_http_upstream_get_round_robin_peer**。 完整的回源逻辑为: 1. 在解析upstream{}server配置的时候放在us→servers中。 2. 在init_round_robin建立整个upstream对应的peers,将所有servers对应监听地址都建立peer联系起来。 3. 随后在create_round_robin_peer中, rrp = r->upstream->peer.data; rrp->peers = peers; 4. 将peers和request联系起来,并将upstream_server级别的一些信息填充peer。 5. 在**ngx_http_upstream_get_round_robin_peer**中,真正挑选出来peer,并且将peer对应的内容赋给peer_connection,发起ngx_event_connect。 结论: 所以你的问题根源在于,第五步选取peer,和源站建立连接这一步。 引用nginx-upsync-module后,add module或通过patch打补丁修改了此处逻辑代码???
https://cloud.tencent.com/developer/article/1778734 之前写过一篇分析upstream源码分析的文章,希望能够有所帮助。
attempt to index local 'self' (a nil value) , Lua variable nil error.You did't use lua_resty_waf:new()?
[https://github.com/p0pr0ck5/lua-resty-waf/issues/319#issuecomment-541293290](url)
How did you solve this problem?
Thanks for you good lib,but when I compiled it from source then got this error. make install rm -f *.rockspec lua mkrockspecs.lua lrexlib 2.9.0 lua: mkrockspecs.lua:3: module 'std.tree' not found:...
> Thanks for you good lib,but when I compiled it from source then got this error. > make install > rm -f *.rockspec > lua mkrockspecs.lua lrexlib 2.9.0 > lua:...