pierrecdn / phpipam

phpIPAM Docker image
GNU Lesser General Public License v3.0
94 stars 111 forks source link

1.6 will not work behind reverse proxy #84

Closed JordanSekky closed 9 months ago

JordanSekky commented 9 months ago

The release of phpipam 1.6 introduced a new config.php setting called $trust_x_forwarded_headers.

This setting is false by default, and breaks integration between this docker image and reverse proxies, as the X_FORWARDEDFOR* headers are no longer trusted.

Please expose this option as an environment variable, or set it to true by default.

pierrecdn commented 9 months ago

Hi, would you mind submitting a PR for that?

JordanSekky commented 9 months ago

Submitted #85 !