]> arthur.barton.de Git - netdata.git/blobdiff - src/main.c
Merge pull request #1801 from l2isbad/freeradius_plugin_p26_fix
[netdata.git] / src / main.c
index 798b6c2590b34e1f65fbb6d1f212acb59b1868f9..278e0aafd827c968539300e619c7ba3ab3956f85 100644 (file)
@@ -71,7 +71,9 @@ void web_server_threading_selection(void) {
 
     web_client_timeout = (int) config_get_number("global", "disconnect idle web clients after seconds", DEFAULT_DISCONNECT_IDLE_WEB_CLIENTS_AFTER_SECONDS);
 
-    web_donotrack_comply = config_get_boolean("global", "respect web browser do not track policy", web_donotrack_comply);
+    respect_web_browser_do_not_track_policy = config_get_boolean("global", "respect web browser do not track policy", respect_web_browser_do_not_track_policy);
+    web_x_frame_options = config_get("global", "web x-frame-options header", "");
+    if(!*web_x_frame_options) web_x_frame_options = NULL;
 
 #ifdef NETDATA_WITH_ZLIB
     web_enable_gzip = config_get_boolean("global", "enable web responses gzip compression", web_enable_gzip);