Skip to content

Repository for dockerized nginx proxy deployable on VPS

Notifications You must be signed in to change notification settings

FRSOURCE/nginx-proxy

Repository files navigation

nginx-proxy

Repository for dockerized nginx proxy deployable on VPS

Important When updating nginx-proxy, always update nginx.tmpl file as well. Instructions on how to do that are in "Working with nginx.tmpl" section below.

Working with nginx.tmpl

  1. Create nginx.new.tmpl file and copy over nginx.tmpl content from nginx-proxy repo into it and nginx.tmpl in this repo.

  2. Apply changes from nginx.tmpl.patch into nginx.tmpl.

patch nginx.tmpl nginx.tmpl.patch

If the command above does not work it's possible that contents of nginx.tmpl have changed in new version of nginx-proxy. In such case you'll need to apply those changes manually.

  1. Make other changes you need in nginx.tmpl file.

  2. Generate a new .patch file.

diff -u nginx.new.tmpl nginx.tmpl > nginx.tmpl.patch
  1. Now you can safely remove nginx.new.tmpl file.

About

Repository for dockerized nginx proxy deployable on VPS

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published