kaxing / static-pages

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 93.4%Language:Dockerfile 4.2%Language:JavaScript 2.4%