[bug]: Blocked IP address (security.ip-blocked) of the http port behind apache #1062
Replies: 3 comments 6 replies
-
But you should have configured server.http.use-x-forwarded, I guess? |
Beta Was this translation helpful? Give feedback.
-
Enable the proxy protocol in your reverse proxy so Stalwart knows where the connections are coming from. If you are just forwarding HTTP traffic then enable the setting to obtain the remote IP from the X-Forwarded headers. More details at https://stalw.art/docs |
Beta Was this translation helpful? Give feedback.
-
What is the Problem here? that the log message contains the wrong ip address?
or that the or that the proxy setup do not forward the correct ip-address? |
Beta Was this translation helpful? Give feedback.
-
What happened?
After installing stalwart via docker, leaving common parameters at default values i configured an apache web server in front of the http port. It works for a while, but now I get
When I try reaching the management interface.
At first, there is no information available in documentation from which feature this message comes from.
I tried the following config settings with a restart afterwards with no success/change in getting rid of the block above.
Because of the fact, that I cant configure via the UI, I did it via
# vi /var/lib/docker/volumes/stalwart_data/_data/etc/config.toml
Am I missing something here?
Here is my obviously straight forward config:
docker container version is v0.10.7
How can we reproduce the problem?
I can reproduce the problem by doing the following steps:
ProxyPass
from apache or with curl via cli directly:where I get
Version
v0.10.x
What database are you using?
RocksDB
What blob storage are you using?
RocksDB
Where is your directory located?
None
What operating system are you using?
Docker
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions