Closed algorys closed 6 years ago
Some remarks:
This answer on SO is very well explain: proxies-with-python-requests-module
Defining a HTTP_PROXY
environment variable (Linux or Windows) seems to make the Alignak App use a proxy server to connect the backend 😉
User authentication is a must-have !
@mohierf yes. I think we need to integrate it in client.
See https://github.com/Alignak-monitoring-contrib/alignak-backend-client/pull/72
Done.
In case a user uses a proxy, there is no way in App to manage it.
According to the documentation of the requests library, a simple definition of the environment variables could be enough to make the client understand that there is a proxy. (See Requests: proxies)
So, App could:
proxy=
HTTP_PROXY
orHTTPS_PROXY
depends if proxy had https or not.A rapid test (under Linux):
Because proxy is not here.