nginx - yszheda/wiki GitHub Wiki
service discovery
- Service discovery in microservice architecture
- Service Discovery in a Microservices Architecture
- Easy routing and service discovery with Docker, Consul and nginx
Usage
client closed connection while waiting for request
an upstream response is buffered to a temporary file
- http://serverfault.com/questions/587386/an-upstream-response-is-buffered-to-a-temporary-file
- http://serverfault.com/questions/511789/nginx-client-request-body-is-buffered-to-a-temporary-file
worker_connections are more than open file resource limit: 1024
- http://serverfault.com/questions/640976/nginx-ulimit-worker-connections-exceed-open-file-resource-limit-1024
- http://blog.csdn.net/suvi/article/details/5722909
- http://www.gnupit.net/book/workerrlimitnofile
- http://www.cnblogs.com/sxlfybb/archive/2011/09/15/2177983.html
- http://serverfault.com/questions/208916/understanding-max-file-descriptors-for-linux-and-nginx-and-best-value-for-worke
- http://www.ibm.com/developerworks/cn/linux/l-cn-ulimit/index.html
- http://www.linuxhowtos.org/tips%20and%20tricks/ulimit.htm
- http://stackoverflow.com/questions/7325211/tuning-nginx-worker-process-to-obtain-100k-hits-per-min
- http://stackoverflow.com/questions/37591784/nginx-worker-rlimit-nofile
proxy_temp failed (13: Permission denied) while reading upstream
- http://serverfault.com/questions/235154/permission-denied-while-reading-upstream/420413
- http://www.nginx.cn/695.html
multi_accept
- http://ss64.com/bash/ulimit.html
- http://nginx.org/en/docs/ngx_core_module.html#multi_accept
- http://serverfault.com/questions/763597/why-is-multi-accept-off-as-default-in-nginx
optimize
- http://www.oschina.net/translate/nginx-setup?print
- https://www.linode.com/docs/websites/nginx/configure-nginx-for-optimized-performance
- http://blog.csdn.net/poechant/article/details/7173826
leak
- http://code.taobao.org/pipermail/tengine-cn/2013-June/001010.html
- https://groups.google.com/forum/#!topic/openresty/ZyLsnvQP-zk
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
autoindex
proxy_pass
- http://www.liaohuqiu.net/posts/nginx-proxy-pass/
- https://segmentfault.com/a/1190000004128807
- https://groups.google.com/forum/#!topic/openresty-en/DRocQpM4mVY
- http://blog.csdn.net/huanghr_1/article/details/6437086
-
conditional proxy_pass
- http://stackoverflow.com/questions/7878334/nginx-conditional-proxy-pass
- http://www.cyberciti.biz/faq/nginx-if-conditional-http_user_agent-requests/
- http://nginx.2469901.n2.nabble.com/Condition-in-location-for-proxy-pass-td7582138.html
- http://serverfault.com/questions/598085/nginx-add-header-conditional-on-an-upstream-http-variable
upstream
- http://stackoverflow.com/questions/5877929/what-does-upstream-mean-in-nginx
- http://nginx.org/en/docs/http/load_balancing.html
-
keepalive
- https://ma.ttias.be/enable-keepalive-connections-in-nginx-upstream-proxy-configurations/
- http://www.nosa.me/2014/12/18/%E5%85%B3%E4%BA%8E-nginx-upstream-keepalive-%E7%9A%84%E8%AF%B4%E6%98%8E/
heartbeat
SubStatus
request_time in access log
- http://wuzhangshu927.blog.163.com/blog/static/114224687201310674652147/
- http://stackoverflow.com/questions/13260477/writing-the-total-request-time-in-seconds-to-an-nginx-access-log-possibly-using
log process by awk / sed / grep
- https://gist.github.com/loisaidasam/2774350
- http://blog.sina.com.cn/s/blog_65de4f4f01017mi1.html
- https://blog.eood.cn/nginx_logs
cache
- https://serversforhackers.com/nginx-caching
- https://www.nginx.com/blog/nginx-caching-guide/
- https://www.nginx.com/resources/admin-guide/content-caching/
- http://stackoverflow.com/questions/6236078/how-to-clear-the-cache-of-nginx