Redirect problems

When I try to manually set intervals to show port graphs:

it redirect me to: http://graphs/lazy_w=845/to=1535971800/device=276/type=device_bits/from=1535885400/legend=no/?

Know bug and I think someone is on a fix.

Thank you.

test this: https://github.com/librenms/librenms/pull/9109

Sorry, that PR is merged already.
Check that you dont have $config['base_url'] = "/"; in your config.php

Ye, got this line, comment it and it starts to work. Thank you.

Can you check your apache / nginx config please. I expect you don’t the servername set correctly.

Here is my nginx conf:

    server {
     listen      80;
     server_name my_real_domain.here.com;
     root        /opt/librenms/html;
     index       index.php;
     access_log  /opt/librenms/logs/access_log;
     error_log   /opt/librenms/logs/error_log;
     location / {
      try_files $uri $uri/ @librenms;
     }
     location ~ \.php {
      include fastcgi.conf;
      fastcgi_split_path_info ^(.+\.php)(/.+)$;
      fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
     }
     location ~ /\.ht {
      deny all;
     }
     location @librenms {
      rewrite api/v0(.*)$ /api_v0.php/$1 last;
      rewrite ^(.+)$ /index.php/$1 last;
     }
    }