Technical Goulash

nginx+observium configuration

nginx+observium configuration

Update to index.php in observium to work with nginx. Change from: $_SERVER[‘PATH_INFO’] = (isset($_SERVER[‘PATH_INFO’]) ? $_SERVER[‘PATH_INFO’] : $_SERVER[‘ORIG_PATH_INFO’]); Change to: $_SERVER[‘PATH_INFO’] = $_SERVER[‘REQUEST_URI’]; nginx site configuration: server { listen 80; server_name hostname.kulish.com; access_log /var/log/nginx/hostname.kulish.com.acc.log; error_log /var/log/nginx/hostname.kulish.com.err.log; root /www/observium/html; index index.php; error_page 500 502 503 504 /50x.html; location = /50x.html { […]