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 {
root /usr/share/nginx/www;
}location / {
try_files $uri $uri/ @observium;
}location @observium {
rewrite ^(.+)$ /index.php/$1/ last;
}}
# General php settings
include php.conf;# We need to exclude robots.txt specifically
include drop.conf;



