Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2013
1,340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. # Include list of ports to listen on and which to use for name based vhosts
  2. Include ports.conf
  3.  
  4. #
  5. # The following directives define some format nicknames for use with
  6. # a CustomLog directive (see below).
  7. # If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
  8. #
  9. LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  10. LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  11. LogFormat "%h %l %u %t \"%r\" %>s %O" common
  12. LogFormat "%{Referer}i -> %U" referer
  13. LogFormat "%{User-agent}i" agent
  14.  
  15. # Include of directories ignores editors' and dpkg's backup files,
  16. # see the comments above for details.
  17.  
  18. # Include generic snippets of statements
  19. Include conf.d/
  20.  
  21. # Include the virtual host configurations:
  22. Include sites-enabled/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement