O
O
OliverMaddison2016-05-01 20:57:31
Nginx
OliverMaddison, 2016-05-01 20:57:31

How to enter PHP-FPM+NGINX+IPB with rewriting?

Hello guys, I'm asking for help / hints in setting up a virtual host on a bunch of nginx + php-fpm. I can't get into the admin panel of the IPB forum. Admin panel path forum.maybe.ru/day I get an error: clip2net.com/clip/m0/f35f0-clip-67kb.jpg?nocache=1
Previously, there was apache+nginx , respectively, there was mod_rewrite and everything worked great. After the demolition of Apache, this is such a misfortune .. With other sites (there are 10 of them, not forums, without rewrites), everything is fine ..
The virtual host of the forum itself: pastebin.com/uSDk47BB
I have already searched all over Google and Yandex, I did not find anything that could help ... .htaccess was not in the admin panel, not in the root of the forum.
(Version 3.5.6, if that makes a difference, of course.) Thanks.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2016-05-01
@Sanes

location / {
    try_files $uri $uri/ =404;
        if (!-e $request_filename) {
        rewrite ^/(.*)$ /index.php?q=$1 last;
      }
  }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question