localtunnel/nginx

Name: nginx

Owner: localtunnel

Description: nginx container used as the localtunnel load balancer

Created: 2016-07-09 23:28:24.0

Updated: 2018-05-22 04:37:43.0

Pushed: 2016-07-10 00:19:47.0

Homepage: null

Size: 3

Language: Nginx

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

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.

er run -d \
--name localtunnel-nginx \
--restart always \
--net host \
-v $HOME/ssl:/etc/nginx/ssl/ \
defunctzombie/localtunnel-nginx:latest
Local Testing
er build -t localtunnel-nginx .

er run \
--restart always \
-p 443:443 -p 80:80 \
-v ./ssl:/etc/nginx/ssl/ \
localtunnel-nginx

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.