Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. Mutex file:${APACHE_LOCK_DIR} default
  2.  
  3. PidFile ${APACHE_PID_FILE}
  4.  
  5. Timeout 300
  6.  
  7. KeepAlive On
  8.  
  9. MaxKeepAliveRequests 100
  10.  
  11. KeepAliveTimeout 5
  12.  
  13.  
  14. User ${APACHE_RUN_USER}
  15. Group ${APACHE_RUN_GROUP}
  16.  
  17. HostnameLookups Off
  18.  
  19. ErrorLog ${APACHE_LOG_DIR}/error.log
  20.  
  21. LogLevel warn
  22.  
  23. IncludeOptional mods-enabled/*.load
  24. IncludeOptional mods-enabled/*.conf
  25.  
  26. Include ports.conf
  27.  
  28.  
  29. <Directory />
  30. Options FollowSymLinks
  31. AllowOverride None
  32. Require all denied
  33. </Directory>
  34.  
  35. <Directory /usr/share>
  36. AllowOverride None
  37. Require all granted
  38. </Directory>
  39.  
  40. <Directory /var/www/>
  41. Options Indexes FollowSymLinks
  42. AllowOverride All
  43. Require all granted
  44. </Directory>
  45.  
  46. AccessFileName .htaccess
  47.  
  48. <FilesMatch "^\.ht">
  49. Require all denied
  50. </FilesMatch>
  51.  
  52.  
  53. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  54. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  55. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  56. LogFormat "%{Referer}i -> %U" referer
  57. LogFormat "%{User-agent}i" agent
  58.  
  59.  
  60. IncludeOptional conf-enabled/*.conf
  61.  
  62. IncludeOptional sites-enabled/*.conf
  63.  
  64.  
  65.  
  66. <IfModule mod_headers.c>
  67. Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
  68. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement