Tag: wordpress

  • WordPress and Nginx with PHP-FPM

    WordPress and Nginx with PHP-FPM

    When I installs wordpress running on nginx with php-fpm, I will add the following config lines at nginx virtual host setting to allow static files (image files, document files, etc.) to bypass php-fpm. location / {     try_files $uri $uri/ /index.php?q=$uri&$args; } location ~* ^.+\.(jpg|jpeg|gif|png|css|zip|pdf|txt|js|flv|swf|html|htm)$        {     # } client_max_body_size 64M; And adding the following […]