Hi, I’ve created an instance with a LEMP stack. That all appears to work - I can open a phpinfo in browser and it shows me all ok.
However, if I then add concrete5 to my web root and go to http://mywebroot it just redirects to http://mywebroot/index.php/install with a 404 error.
I’m guessing there must be something wrong somewhere with the path that is expected?
Anyone set up c5 on a LEMP droplet - I’d imagine I’m missing something very simple and obvious.
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!
This question was answered by @ryanpq:
You will likely need to modify your nginx configuration to use the following as your
Location /section:location / { # try_files $uri $uri/ =404; try_files $uri $uri/ /index.php?q=$uri&$args; }This serves much the same purpose as an .htaccess file does on Apache by redirecting requests to index.php.
Once this is done, be sure to restart nginx for the changes to take effect.
service nginx restart
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.