nleea / nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NGINX Example

This example is deploys a site using NGINX

Deploy on Railway

✨ Features

  • NGINX
  • Static Site

πŸ’β€β™€οΈ How to use

  • Open the site/index.html in 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.

About

License:MIT License


Languages

Language:HTML 54.5%Language:CSS 40.5%Language:Dockerfile 3.3%Language:JavaScript 1.8%