I am trying to settup furl for invision power suite 4 on nginx 1.10 and I have tried this:

location / {
    try_files $uri $uri/ /index.php;
  }

  location ~^(/page/).*(.php)$ {
    try_files  $uri $uri/ /index.php;
  }

and this:

    location / {
        try_files   $uri $uri/ @ips;
    }

But in both case nginx won’t restart.
I google and tried a few others but still not working, what am I forgetting?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

@stephgiguere

What does your complete server block look like, including your FastCGI configuration (ideally, these would be independent from one another and the server block calls the FastCGI configuration using NGINX’s include directive).

It’s hard to take a guess without the complete configuration :-).

Well I managed to fix it and get it to work with this:

    location / {
        try_files $uri $uri/ /index.php?$args;
    }

But I had to remove this line to get it to work:

    location / {
        try_files $uri $uri/ =404;
        }
Submit an Answer