| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- 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
- <IfModule log_config_module>
- 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
- </IfModule>
- <IfModule mpm_event_module>
- ServerLimit 5000
- StartServers 1000
- MaxClients 10000
- MinSpareThreads 750
- MaxSpareThreads 2500
- ThreadsPerChild 500
- MaxRequestsPerChild 10000
- </IfModule>
- <IfModule mime_module>
- TypesConfig /etc/mime.types
- AddType application/x-compress .Z
- AddType application/x-gzip .gz .tgz
- </IfModule>
- <Directory />
- Options FollowSymlinks
- AllowOverride none
- </Directory>
- <Directory ${HUE_HOME}/build/static>
- Options -Indexes
- Require all granted
- </Directory>
- 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
|