LibreNMS 轉發網頁IP帶PORT
librenms架在路由器後方需要轉送並帶PORT
在librenms主機的nginx裡新增fastcgi_param HTTP_HOST $http_host;
location ~ [^/]\.php(/|$) {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass unix:/run/php-fpm-librenms.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_param HTTP_HOST $http_host;
}
輸入路由器IP+PORT就能成功顯示

No comments to display
No comments to display