Skip to content

opendocks/proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenDock Proxy

The is based on jwilder/nginx-proxy. All credits goes to the MAN :)

This will setup service for auto handling of reverse proxy, this also uses jrcs/letsencrypt-nginx-proxy-companion to automate SSL certificates.

How to use for project

    git clone [email protected]:opendocks/proxy.git
  • Create certs sub directory

  • Create vhost.d sub directory

  • Create docker network using command

  • Create docker network using command

    docker network create net1-nginx-proxy
  • You need to specify VIRTUAL_HOST & VIRTUAL_PORT as environment for apache service to handle reverse proxy.

  • You need to specify LETSENCRYPT_HOST & LETSENCRYPT_EMAIL as environment for apache service, to handle SSL certificates.

    • BONUS, If you are using opendocks/template with this project, you just need to update .env file for APACHE_VIRTUAL_HOST & APACHE_HTTP_PORT variable and provide in apache service asbelow.

      environment:
            VIRTUAL_HOST: ${APACHE_VIRTUAL_HOST}
            VIRTUAL_PORT: ${APACHE_HTTP_PORT}
            LETSENCRYPT_HOST: ${APACHE_VIRTUAL_HOST}
            LETSENCRYPT_EMAIL: [email protected]
  • Run service

    docker-compose up
  • Enjoy :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published