• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Forwarded to devs Monitoring extension: you can install the Monitoring extension even when Nginx is not installed on the server

Maarten

Golden Pleskian
Plesk Guru
Username:

TITLE

Monitoring extension: you can install the Monitoring extension even when Nginx is not installed on the server

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.42 Update #1

PROBLEM DESCRIPTION

I've seen a couple of threads on this forum from users that install the Monitoring extension on a Plesk server without Nginx. This results in a non-working extension with a warning "origin not allowed".

The extension should check if Nginx is running before it gets installed.

STEPS TO REPRODUCE

- remove Nginx from the server
- install the Monitoring extension
- Open the Monitoring extension and you'll see empty graphs with a warning: "origin not allowed"

ACTUAL RESULT

When you open the Monitoring extension you'll see empty graphs with a warning: "origin not allowed"

EXPECTED RESULT

Working graphs without the warning.

ANY ADDITIONAL INFORMATION

The extension should check if Nginx is running before it gets installed. If not, it should not continue the installation.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for the report.
The bug was confirmed and submitted as EXTPLESK-3426
 
BTW, Temporary workaround here:

1 step. To the template

/usr/local/psa/admin/conf/templates/default/server/apachePleskAccess.php

to the section

<IfModule mod_proxy_http.c>
<Location />
ProxyPass http://127.0.0.1:8880/
ProxyPassReverse http://127.0.0.1:8880/
RequestHeader set "X-Forwarded-Proto" "https"
Order allow,deny
Allow from all
</Location>

add the following line

ProxyPreserveHost On

and re-disable nginx proxy via `plesk sbin nginxmng -d`.

OR

you can modify the

/etc/apache2/plesk.conf.d/server.conf

file with the same way and restart apache2 via `service apache2 restart`.

2 step. Modify

/etc/sw-cp-server/conf.d/grafana_plesk.inc

replace

rewrite ^/modules/grafana/service/login$ /modules/grafana/service/login/generic_oauth redirect;

with

set $r_scheme $scheme;
if ($http_x_forwarded_proto = 'https') {
set $r_scheme https;
}
rewrite ^/modules/grafana/service/login$ $r_scheme://$http_host/modules
 
Back
Top