Jump to content

Nginx + PHP-FPM with IPB

Featured Replies

Posted

If i use Nginx + PHP-FPM , i get 404 for some parts of IPB. Bad config or IPB?

Bad configuration :sad:

You can try to uncomment on your nginx config file this:

#try_files $uri $uri/ /index.php;

to

try_files $uri $uri/ /index.php;

restart nginx and let us know if it works for you :smile:

  • 2 weeks later...

If i use Nginx + PHP-FPM , i get 404 for some parts of IPB. Bad config or IPB?

​404 on search and other pages ?

Try removing this from your nginx config.

fastcgi_intercept_errors on;

 

Default installation of Nginx works fine with me, well i use CentOS.

Default installation of Nginx works fine with me, well i use CentOS.

​That's probably not the best advice though because a default installation would be fairly insecure. 

There are some decent guides on IPS how to secure IPB and get it running pretty well with nginx.

A lot more must done for a secure enviroment.....

This thread were about issues with IPB + nginx.. Not about security.

I use Centmin, works pretty fine. It also follows with Google pagespeed - insane fast page speeds. Never had any issue with security, i just used fail2ban for ssh.

Had so many people trying to hack us aswell lol

Yes we are out of topic.... :)

Author seems to solve the problem as he not reply for half a month :)

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.