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!
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;
}
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.