summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2023-06-04 10:44:42 +0200
committernicolargo <nicolas@nicolargo.com>2023-06-04 10:44:42 +0200
commitcf2dcb3d6bb7cb92aa15f5591cc051bed5731c46 (patch)
treea2dcecf9708250617f31b3edd5a3a58e3f721064 /conf
parent513e4486fb66e2e1bef5b923a4bdb1879309fe3c (diff)
Feature request: support path prefix so we can watch glances via url like http://ip/urlprefix/ #1365
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index ca5bda3b..63ab731f 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -22,8 +22,13 @@ history_size=1200
[outputs]
# Theme name for the Curses interface: black or white
curse_theme=black
-# Limit the number of processes to display in the WebUI
+# Limit the number of processes to display (for the WebUI)
max_processes_display=30
+# Set the URL prefix (for the WebUI and the API)
+# Example: url_prefix=/glances/ => http://localhost/glances/
+# The final / is mandatory
+# Default is no prefix (/)
+#url_prefix=/glances/
##############################################################################
# plugins