Skip to content
An example NGINX config and Dockerfile similar to the one which I used in my home server without portforwarding article.
Dockerfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
includes
Dockerfile
README.md

README.md

Home Server NGINX Proxy Example

This repo contains an example NGINX config and Dockerfile similar to the one which I used in my home server without portforwarding article.

This is intended to be used on a public server which can proxy web requests to your home server via a VPN link, as I discuss in my article.

Please note that this is a few years old now so may be slightly out of date - pull requests and issue suggestions are welcome, but please remember the context for which this was intended, as illustrated by my article.

Running

  • Ensure ports 80 and 443 are mapped to your Docker host (i.e.: available on the internet)
  • Map /letsencrypt-challenge to your Lets Encrypt webroot directory.
  • Map /ssl to your Lets Encrypt data directory.

SSL

You can’t perform that action at this time.