summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2024-04-26 09:28:24 +0200
committernicolargo <nicolas@nicolargo.com>2024-04-26 09:28:24 +0200
commitdf66a7ffe9bf3b7cb8eebd10f234a3ab01f6ac0c (patch)
treeb33226cb0c59f9d4263d5fabc8619a7334130f52 /conf
parentf2b232ebaf3ac735b3a130df9dc7e6856f0a6942 (diff)
Please add a startup flag to select an alternate web server static file path #2612
Diffstat (limited to 'conf')
-rw-r--r--conf/glances.conf11
1 files changed, 9 insertions, 2 deletions
diff --git a/conf/glances.conf b/conf/glances.conf
index e3f52711..3f1ca9a7 100644
--- a/conf/glances.conf
+++ b/conf/glances.conf
@@ -29,11 +29,18 @@ separator=True
#left_menu=network,wifi,connections,ports,diskio,fs,irq,folders,raid,smart,sensors,now
# Limit the number of processes to display (for the WebUI)
max_processes_display=25
-# Set the URL prefix (for the WebUI and the API)
+# Set URL prefix for the WebUI and the API
# Example: url_prefix=/glances/ => http://localhost/glances/
-# The final / is mandatory
+# Note: The final / is mandatory
# Default is no prefix (/)
#url_prefix=/glances/
+# Set root path for WebUI statics files
+# Why ? On Debian system, WebUI statics files are not provided.
+# You can download it in a specific folder
+# thanks to https://github.com/nicolargo/glances/issues/2021
+# then configure this folder with the webui_root_path key
+# Default is folder where glances_restfull_api.py is hosted
+#webui_root_path=
##############################################################################
# plugins