diff --git a/README.md b/README.md index d71277f..d7093e7 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,9 @@ This is a heavily modified fork of [selim13's docker-phpbb image](https://github You can find an example of forum running using this image at [ks.fhs.sh](https://ks.fhs.sh). +Note: this image expects that you run it behind another reverse proxy and does _not_ handle HTTPS automatically. Use it +behind another instance of caddy, for example. + # Supported tags and respective `Dockerfile` links - [`3`,`3.3`, `3.3.14`, `latest`](https://source.hodakov.me/hdkv/docker-phpbb/src/branch/main/Dockerfile) bundled with PHP 8 diff --git a/config/Caddyfile b/config/Caddyfile index 413d16e..f181ad8 100644 --- a/config/Caddyfile +++ b/config/Caddyfile @@ -10,6 +10,7 @@ php_fastcgi unix//run/php-fpm.sock { trusted_proxies private_ranges + env REMOTE_ADDR {client_ip} } file_server