Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Grav on AWS Lightsail with Nginx

Started by John Green 5 years ago · 1 replies · 1261 views
5 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?

5 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 jeremycherfas, 1 week ago
1 115 1 week ago
Installation & Hosting · by motorambler, 3 weeks ago
8 392 2 weeks ago
Installation & Hosting · by antoinep, 3 months ago
8 965 3 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 623 10 months ago
Installation & Hosting · by rappluk, 11 months ago
0 667 11 months ago