mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
925 B
925 B
title, description, tags
| title | description | tags | ||
|---|---|---|---|---|
| NGINX | Deploy a static HTML file with NGINX |
|
NGINX Example
This example is deploys a site using NGINX
✨ Features
- NGINX
- Static Site
💁♀️ How to use
- Open the
site/index.htmlin the browser
📝 Notes
By default the site/ directory gets deployed as a static site. This can be modified by changing the Dockerfile.
The site is deployed using the default NGINX configuration. This can be overridden with a custom conf file by adding
COPY nginx.conf /etc/nginx/nginx.conf
to the end of the Dockerfile. For more information, read the docs.