|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- LockFile ${APACHE_LOCK_DIR}/accept.lock
-
-
-
-
-
- PidFile ${APACHE_PID_FILE}
-
-
-
- Timeout 300
-
-
-
-
- KeepAlive {{ salt['pillar.get']('apache:keepalive', 'On') }}
-
-
-
-
-
- MaxKeepAliveRequests 100
-
-
-
-
- KeepAliveTimeout 5
-
-
-
-
-
-
-
-
-
- <IfModule mpm_prefork_module>
- StartServers 5
- MinSpareServers 5
- MaxSpareServers 10
- MaxClients 150
- MaxRequestsPerChild 0
- </IfModule>
-
-
-
-
-
-
-
-
-
-
- <IfModule mpm_worker_module>
- StartServers 2
- MinSpareThreads 25
- MaxSpareThreads 75
- ThreadLimit 64
- ThreadsPerChild 25
- MaxClients 150
- MaxRequestsPerChild 0
- </IfModule>
-
-
-
-
-
-
-
- <IfModule mpm_event_module>
- StartServers 2
- MinSpareThreads 25
- MaxSpareThreads 75
- ThreadLimit 64
- ThreadsPerChild 25
- MaxClients 150
- MaxRequestsPerChild 0
- </IfModule>
-
- User ${APACHE_RUN_USER}
- Group ${APACHE_RUN_GROUP}
-
-
-
-
-
-
- AccessFileName .htaccess
-
-
-
-
- <Files ~ "^\.ht">
- Order allow,deny
- Deny from all
- Satisfy all
- </Files>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DefaultType None
-
-
-
-
-
-
-
-
- HostnameLookups Off
-
-
-
-
-
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
-
-
-
-
-
- LogLevel warn
-
- Include mods-enabled/*.load
- Include mods-enabled/*.conf
-
- Include httpd.conf
-
- Include ports.conf
-
-
-
-
-
- LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
- LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
- LogFormat "%h %l %u %t \"%r\" %>s %O" common
- LogFormat "%{Referer}i -> %U" referer
- LogFormat "%{User-agent}i" agent
-
- {%- for directive, dvalue in salt['pillar.get']('apache:global', {}).items() %}
- {{ directive }} {{ dvalue }}
- {%- endfor %}
-
-
-
- Include conf.d/
-
- Include sites-enabled/
|