Skip to content

Craffft/docker-nginx-proxy-with-letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker nginx proxy

Sources from:

Install

Clone this repository and run the following commands to add the required network and generating the nginx proxy docker containers

docker network create -d bridge nginx-proxy
docker-compose up -d --build

Client Docker Compose config

services:
  nginx:

    // ...

    environment:
      VIRTUAL_HOST: 'myhost.url'
      VIRTUAL_NETWORK: nginx-proxy
      VIRTUAL_PORT: '80'
      LETSENCRYPT_HOST: 'myhost.url'
      LETSENCRYPT_EMAIL: 'mail@myhost.url'
    networks:
      - proxy-tier
      
    // ...

networks:
  proxy-tier:
    external:
      name: nginx-proxy

More informations

Proxied SSL support example:

https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#supporting-proxied-ssl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages