Jump to content

error500

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by error500

  1. hi guys i'm read this thread an find big error in your configs Please do not use try_files - this config keyword add in nginx special for stupid Wordpress users (c) Igor Sysoev [main nginx developer] this instruction in config make nginx lowerest For exemple more fast equival: error_page 404 = @php-fpm; location ~ \.php$ { fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } location @php-fpm { fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; include fastcgi_params; fastcgi_param it $uri; fastcgi_param SCRIPT_FILENAME $document_root/index.php; }
×
×
  • Create New...