Add custom "hook folders" /etc/nginx/{server.d,location.d}

This commit is contained in:
Michael Contento 2017-03-29 19:40:24 +02:00
parent 271d123846
commit 4b6ebf31c6
12 changed files with 46 additions and 0 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();