User Tools

Site Tools


servers:linux:nginx:wordpress

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
servers:linux:nginx:wordpress [2026/11/11 00:50] – [Prerequisites] Sean Rhoneservers:linux:nginx:wordpress [2026/11/11 01:07] (current) – [FastCGI] Sean Rhone
Line 76: Line 76:
  
 <code> <code>
- location '~' '\.(php|phar)(/.*)?$' { +location '~' '\.(php|phar)(/.*)?$' { 
-  fastcgi_split_path_info '^(.+\.(?:php|phar))(/.*)$'; + fastcgi_split_path_info '^(.+\.(?:php|phar))(/.*)$'; 
-  fastcgi_intercept_errors 'on'; + fastcgi_intercept_errors 'on'; 
-  fastcgi_index 'index.php'; + fastcgi_index 'index.php'; 
-  include 'fastcgi_params'; + include 'fastcgi_params'; 
-  fastcgi_param 'SCRIPT_FILENAME' '$document_root$fastcgi_script_name'; + fastcgi_param 'SCRIPT_FILENAME' '$document_root$fastcgi_script_name'; 
-  fastcgi_param 'PATH_INFO' '$fastcgi_path_info'; + fastcgi_param 'PATH_INFO' '$fastcgi_path_info'; 
-  fastcgi_param 'HTTPS' 'on'; + fastcgi_param 'HTTPS' 'on'; 
-  fastcgi_pass 'unix:/run/php-fpm/blog.sock'; + fastcgi_pass 'unix:/run/php-fpm/blog.sock'; 
- }+}
  
 # End</code> # End</code>
/srv/www/wiki/data/pages/servers/linux/nginx/wordpress.txt · Last modified: by Sean Rhone