Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Grav on AWS Lightsail with Nginx

Started by John Green 5 years ago · 1 replies · 1084 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 antoinep, 13 hours ago
5 60 8 hours ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 62 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 62 8 months ago
Installation & Hosting · by N, 12 months ago
3 72 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 61 1 year ago