refactor REDIRECT_PROTO and add some examples

This commit is contained in:
Michael Contento 2017-03-29 19:23:29 +02:00
parent b6c804b68c
commit 023f04c7a4
12 changed files with 72 additions and 31 deletions

View file

@ -0,0 +1,7 @@
https://* {
errors stderr
tls self_signed
proxy / http://backend:80 {
transparent
}
}

View file

@ -0,0 +1,13 @@
version: '3'
services:
backend:
build: ../../
volumes:
- './index.php:/var/www/index.php'
frontend:
image: abiosoft/caddy
volumes:
- './Caddyfile:/etc/Caddyfile'
ports:
- '443:443'

View file

@ -0,0 +1,3 @@
<?php
phpinfo();