Same Nginx | Different Worlds | Real DevOps Skills
I built one Netflix-inspired landing page (HTML, CSS, JavaScript) and deployed it six different ways using Nginx. Same UI, six deployment worlds β each method taught me a different real-world DevOps skill. Here is the complete breakdown, point by point.
Method 1: Netflix (Nginx) through GitHub Pages
Workflow: Netflix UI β GitHub Repository (netflix-nginx) β GitHub Pages (Static Hosting)
Key steps:
Create a GitHub repository.
Add the Netflix landing page files (HTML, CSS, JS, images).
Enable GitHub Pages (Settings β Pages).
Select the main branch (root or /docs).
Access the live URL.
Live demo: https://mohitlohar1555-oss.github.io/Netflix-Landing-page-/
Method 2: Netflix (Nginx) through Docker
Workflow: Dockerfile (Nginx + Netflix UI) β Docker Image (netflix-nginx:latest) β Docker Container (Running Nginx)
Key steps:
Create the project folder (netflix-nginx).
Add the Netflix UI files (HTML, CSS, JS).
Write the Dockerfile (FROM nginx).
Buildβ¦