Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arthursimas1/gateway

Nginx container that gateways all incoming traffic to any registered site. It's lightweight, blazingly fast and HTTPS!
https://github.com/arthursimas1/gateway

Last synced: about 1 month ago
JSON representation

Nginx container that gateways all incoming traffic to any registered site. It's lightweight, blazingly fast and HTTPS!

Awesome Lists containing this project

README

        

# Nginx and Docker -based Gateway
This container gateways all incoming traffic to any registered site.

## Folder and file structure is as following

### Folder
- `/sites-enabled`: each file should be a *nginx config-style* specific to a service;
- `/sites-data`: contains subfolders for each service, each containing its static data;
- `/acme`: contains acme install folder;
- `/ssl-cert`: contains subfolders for each service, each containing `fullchain.pem` and `privkey.pem`;
- `/renew-routines`: renewing scripts for each service based on *acme.sh*;
- `/log`: here resides *nginx* access and error logs;
- `/unix-sockets`: here resides unix sockets to forward connections to.

### Files
- `deploy`: compress all source files, send to server and run `setup`;
- `setup`: installs and starts the container;
- `/entrypoint.sh`: cointainer entrypoint script;
- `/nginx.conf`: main *nginx* config file.