User Tools

Site Tools


nginxarchitecture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nginxarchitecture [2017/04/20 06:01] – [Basic Config] adminnginxarchitecture [2022/10/29 16:15] (current) – external edit 127.0.0.1
Line 28: Line 28:
 ===== Optimize nginx configuration for performance and benchmark ===== ===== Optimize nginx configuration for performance and benchmark =====
 refer: refer:
 +  * http://www.freshblurbs.com/blog/2015/11/28/high-load-nginx-config.html
   * http://tweaked.io/guide/nginx/   * http://tweaked.io/guide/nginx/
   * http://wiki.nginx.org/FullExample   * http://wiki.nginx.org/FullExample
Line 141: Line 142:
 refer:  refer: 
   * https://www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/   * https://www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/
-  * http://jeremymarc.github.io/2013/04/22/nginx-and-php-fpm-for-performance/+  * https://tweaked.io/guide/nginx/
  
 **global** config for all pools:<code> **global** config for all pools:<code>
Line 203: Line 204:
 /etc/php-fpm.d/blog.conf /etc/php-fpm.d/blog.conf
 /etc/php-fpm.d/forums.conf /etc/php-fpm.d/forums.conf
-</code> +</code> 
 +Or config in php-fpm.conf<code> 
 +; Relative path can also be used. They will be prefixed by: 
 +;  - the global prefix if it's been set (-p argument) 
 +;  - /onec/php otherwise 
 +;include=etc/fpm.d/*.conf 
 +</code>(Create directory **/onec/php/etc/fpm.d/**)
 Just example configurations for every pool:  Just example configurations for every pool: 
   * default pool [www](listen on port 9000)<code>   * default pool [www](listen on port 9000)<code>
nginxarchitecture.1492668079.txt.gz · Last modified: 2022/10/29 16:15 (external edit)