Skip to content

Instantly share code, notes, and snippets.

View irman's full-sized avatar
🎯
Doing stuff

Irman Ahmad irman

🎯
Doing stuff
View GitHub Profile
@irman
irman / _ec2-lightsail-amazon-linux-nginx-apache-proxy-php-7.md
Last active March 7, 2023 19:00
Setting up Nginx-Apache Reverse Proxy, PHP, & MariaDB with SSL on EC2/Lightsail with Amazon Linux

Setting up Nginx-Apache Reverse Proxy, PHP, & MariaDB with SSL on EC2/Lightsail with Amazon Linux

Final setup should consists of:

  1. NGINX (reverse proxy & static contents)
  2. Apache 2.4 (Dynamic content: PHP)
  3. PHP 7.1
  4. MariaDB 10.1

Install WSL2

  1. Run on PowerShell as Administrator:
wsl --install
  1. Restart.

Install Docker