yeyuchen198 / railwayapp-nginx-docker

A simple example deploying a static site on Railway using 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

A simple example deploying a static site on Railway using NGINX

License:MIT License


Languages

Language:JavaScript 88.5%Language:HTML 5.6%Language:CSS 3.9%Language:Dockerfile 1.4%Language:Shell 0.7%