Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Grav on AWS Lightsail with Nginx

Started by John Green 6 years ago · 1 replies · 1745 views
6 years ago

I got the idea from the documentation that Nginx is a preferred server, so I set up an AWS Lightsail instance with Nginx. I then unzipped grav-admin 1.7.10 into /opt/bitnami/nginx/html after deleting the default index.html and 50x.html files (after backing them up). Now I'm getting an HTTP 500 error, presumably because the default config does not find index.php files and probably other settings that are needed. Is there a place I can find a basic config for AWS Lightsail with Bitnami Nginx? The default config in the documentation is very different from what's already there and refers to things like www-data and /var/www/ that are not on this distribution (it uses bitnami as the user and /opt/bitnami/nginx for example.

Or should I rather install Nginx from scratch or use a different stack?

6 years ago

I decided to start with a blank EC2 instance instead (tg4-micro), using Ubuntu 20.04 LTS. Following the instructions from several sources, I got it working.

Sources:

👍 2

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by DrPen, 6 days ago
4 117 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 221 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3508 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 345 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 269 1 month ago