Pass REMOTE_ADDR from upstream proxy
Some checks failed
ci/woodpecker/tag/docker Pipeline was successful
ci/woodpecker/push/docker Pipeline failed

This commit is contained in:
Vladimir Hodakov 2025-01-08 21:23:05 +04:00
parent 04363efd07
commit 5071b3131d
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -10,6 +10,7 @@
php_fastcgi unix//run/php-fpm.sock {
trusted_proxies private_ranges
env REMOTE_ADDR {client_ip}
}
file_server