Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 11 days ago
JSON representation
Nginx container that gateways all incoming traffic to any registered site. It's lightweight, blazingly fast and HTTPS!
- Host: GitHub
- URL: https://github.com/arthursimas1/gateway
- Owner: arthursimas1
- License: mit
- Created: 2020-05-01T07:05:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-08T23:23:47.000Z (over 4 years ago)
- Last Synced: 2024-08-02T05:11:33.991Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-blazingly-fast - gateway - Nginx container that gateways all incoming traffic to any registered site. It's lightweight, blazingly fast and HTTPS! (Shell)
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.