LoadModule proxy_module /etc/httpd/modules/mod_proxy.so LoadModule proxy_balancer_module /etc/httpd/modules/mod_proxy_balancer.so LoadModule proxy_http_module /etc/httpd/modules/mod_proxy_http.so LoadModule slotmem_shm_module /etc/httpd/modules/mod_slotmem_shm.so LoadModule unixd_module /etc/httpd/modules/mod_unixd.so LoadModule lbmethod_byrequests_module /etc/httpd/modules/mod_lbmethod_byrequests.so LoadModule authz_core_module /etc/httpd/modules/mod_authz_core.so LoadModule log_config_module /etc/httpd/modules/mod_log_config.so LoadModule mime_module /etc/httpd/modules/mod_mime.so LoadModule mpm_event_module /etc/httpd/modules/mpm_event_module.so ErrorLog "${HUE_LOG_DIR}/httpd_error_log" LogLevel warn LogFormat "%{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog "${HUE_LOG_DIR}/httpd_access_log" common ServerLimit 5000 StartServers 1000 MaxClients 10000 MinSpareThreads 750 MaxSpareThreads 2500 ThreadsPerChild 500 MaxRequestsPerChild 10000 TypesConfig /etc/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz Options FollowSymlinks AllowOverride none Options -Indexes Require all granted Alias /static ${HUE_HOME}/build/static Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED ProxyPreserveHost Off ProxyAddHeaders On ProxyPass /static ! ProxyPass / balancer://hue/ stickysession=ROUTEID SetEnv proxy-initial-not-pooled 1 ProxyTimeout 900 KeepAlive On KeepAliveTimeout 120 MaxKeepAliveRequests 500 AllowEncodedSlashes NoDecode User ${HUEUSER} Group ${HUEUSER} Include /etc/httpd/conf.d/hue.conf