mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 23:46:53 +00:00
replace apache with a second caddy
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
1a4c4bd89b
commit
bf02678920
9 changed files with 92 additions and 196 deletions
29
Containers/mastercontainer/internal.Caddyfile
Normal file
29
Containers/mastercontainer/internal.Caddyfile
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
auto_https off
|
||||
|
||||
storage file_system {
|
||||
root /mnt/docker-aio-config/caddy/
|
||||
}
|
||||
|
||||
log {
|
||||
level ERROR
|
||||
}
|
||||
|
||||
servers {
|
||||
protocols h1 h2
|
||||
}
|
||||
|
||||
skip_install_trust
|
||||
}
|
||||
|
||||
https://:8080 {
|
||||
root * /var/www/docker-aio/php/public
|
||||
encode
|
||||
php_fastcgi unix//run/php.sock
|
||||
file_server
|
||||
|
||||
tls {
|
||||
on_demand
|
||||
issuer internal
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue