Skip to content

freelab/simple-multi-site-docker-compose-nginx-alpine-php-fpm-alpine-https-ssl-certificates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple multi-site server with docker-compose/nginx:alpine/php:fpm-alpine

Quickly setup a multi site server,

  • Includes example on how to add HTTPS / SSL Certificates (in my case I had used cloudflare's one), you just have to uncomment lines and edit the certificate files / add your own.

Your just need to git clone this, docker-compose up,and edit your hosts file (example):

YOUR_DOCKER_CONTAINER_IP site-one.com

YOUR_DOCKER_CONTAINER_IP site-two.com

On Production: (Just set up your DNS normally)

Accepting any suggestions on how to make the most out of this ideia / repo.

About

Quickly setup a multi site server, with nginx:alpine and php:fpm-alpine, with example for HTTPS/Cloudflares certificate examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 52.7%
  • PHP 47.3%