Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sph3ricalpeter/nginx


https://github.com/sph3ricalpeter/nginx

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

# NGINX Example

This example is deploys a site using [NGINX](https://www.nginx.com/)

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/o3MbZe)

## ✨ 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](https://hub.docker.com/_/nginx).