Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/localtunnel/nginx
nginx container used as the localtunnel load balancer
https://github.com/localtunnel/nginx
Last synced: about 1 month ago
JSON representation
nginx container used as the localtunnel load balancer
- Host: GitHub
- URL: https://github.com/localtunnel/nginx
- Owner: localtunnel
- Created: 2016-07-09T23:28:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-16T11:38:31.000Z (almost 3 years ago)
- Last Synced: 2024-11-06T15:42:08.709Z (3 months ago)
- Language: Nginx
- Size: 2.93 KB
- Stars: 144
- Watchers: 8
- Forks: 93
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-network-stuff - **69**星
README
# nginx for localtunnel
Simple nginx config w/ssl for localtunnel. Certificate and key must be provided (obviously).
Your certificate and key must be called `server.crt` and `server.key` and will be volume mounted into the container at runtime.
There is nothing really special here that you couldn't do with your own nginx or other load balancers. This repo is provided as a reference for those wanting to run their own localtunnel servers.
```
docker run -d \
--name localtunnel-nginx \
--restart always \
--net host \
-v $HOME/ssl:/etc/nginx/ssl/ \
defunctzombie/localtunnel-nginx:latest
```## Local Testing
```
docker build -t localtunnel-nginx .
``````
docker run \
--restart always \
-p 443:443 -p 80:80 \
-v ./ssl:/etc/nginx/ssl/ \
localtunnel-nginx
```