funcelot

zabbix_conf

Feb 11th, 2020
766
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   location ^~ /zabbix/ {
  2.     proxy_pass http://172.22.130.64/;
  3.     proxy_set_header  Upgrade $http_upgrade;
  4.     proxy_set_header  X-Forwarded-Host $host;
  5.     proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
  6.     proxy_set_header  X-Real-IP $remote_addr;
  7.     proxy_set_header  Host $host;
  8.     proxy_redirect    off;
  9.     proxy_buffering   off;
  10.     proxy_set_header  http_x_forwarded_for $remote_addr;
  11.     proxy_set_header  remote_addr $remote_addr;
  12.     proxy_set_header  X-Original-URI $request_uri;
  13.     proxy_cookie_path /zabbix/ /;
  14.     rewrite ^/zabbix/(.*)$ /$1 break;
  15.   }
  16.  
  17.   location ^~ /zabbix/assets/ {
  18.     proxy_pass http://172.22.130.64/assets/;
  19.     proxy_set_header  X-Forwarded-Host $host;
  20.     proxy_set_header  X-Forwarded-Server $host;
  21.     proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
  22.     proxy_set_header  X-Real-IP $remote_addr;
  23.     proxy_set_header  Host $host;
  24.     rewrite ^/zabbix/assets/(.*)$ /assets/$1? break;
  25.   }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×