Report this

What is the reason for this report?

Setting FURL with nginx 1.10 for ips 4

Posted on July 4, 2016

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

@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;
        }

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.