Ad Widget

Collapse

Frontend data not aviable when login behing a reverse proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • meyucho
    Junior Member
    • Apr 2020
    • 1

    #1

    Frontend data not aviable when login behing a reverse proxy

    Hi all!.
    I have Zabbix 4.4.3 on a Debian 10 server. I've created an admin user. Also, i've configured external access via reverse proxy (apache 2) with uer https://monitoring.mydomin.com.
    If access zabbix from https://monitoring.mydomin.com with my user i can login without any problem but all dashboards, screens, maps are empty. With the same user but from local network can see all f it.
    What i'm missing?
    Thaks!
  • Frogg
    Junior Member
    • Mar 2020
    • 18

    #2
    You can use in your reverse apache proxy server the command

    Code:
    ProxyPreserveHost On
    But this doesnot work if you redirect the path too, for exemple
    This wont works:
    Code:
    ProxyPreserveHost On
    ProxyPass / http://192.168.1.105/zabbix/
    ProxyPassReverse / http://192.168.1.105/zabbix/
    This works
    Code:
    ProxyPreserveHost On
    ProxyPass / http://192.168.1.105/
    ProxyPassReverse / http://192.168.1.105/
    Anyone know how could i make the proxy reverse works with the path passed into it ?

    Thanks

    Comment


    • persianmcse
      persianmcse commented
      Editing a comment
      I have a problem with this
      I am using Apache HTTP Proxy 2.4.46
      But not everything I do is connected to Zabbix for monitoring
Working...