Pass REMOTE_ADDR from upstream proxy
This commit is contained in:
parent
04363efd07
commit
5071b3131d
@ -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).
|
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
|
# 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
|
- [`3`,`3.3`, `3.3.14`, `latest`](https://source.hodakov.me/hdkv/docker-phpbb/src/branch/main/Dockerfile) bundled with PHP 8
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
php_fastcgi unix//run/php-fpm.sock {
|
php_fastcgi unix//run/php-fpm.sock {
|
||||||
trusted_proxies private_ranges
|
trusted_proxies private_ranges
|
||||||
|
env REMOTE_ADDR {client_ip}
|
||||||
}
|
}
|
||||||
|
|
||||||
file_server
|
file_server
|
||||||
|
Loading…
Reference in New Issue
Block a user