zammad.conf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # this is the apache config for zammad
  3. #
  4. # security - prevent information disclosure about server version
  5. ServerTokens Prod
  6. <VirtualHost *:80>
  7. # replace 'localhost' with your fqdn if you want to use zammad from remote
  8. ServerName localhost
  9. ## don't loose time with IP address lookups
  10. HostnameLookups Off
  11. ## needed for named virtual hosts
  12. UseCanonicalName Off
  13. ## configures the footer on server-generated documents
  14. ServerSignature Off
  15. ProxyRequests Off
  16. ProxyPreserveHost On
  17. <Proxy 127.0.0.1:3000>
  18. Require local
  19. </Proxy>
  20. ProxyPass /assets !
  21. ProxyPass /favicon.ico !
  22. ProxyPass /apple-touch-icon.png !
  23. ProxyPass /robots.txt !
  24. ProxyPass /ws ws://127.0.0.1:6042/
  25. ProxyPass / http://127.0.0.1:3000/
  26. # change this line in an SSO setup
  27. RequestHeader unset X-Forwarded-User
  28. DocumentRoot "/opt/zammad/public"
  29. <Directory />
  30. Options FollowSymLinks
  31. AllowOverride None
  32. </Directory>
  33. <Directory "/opt/zammad/public">
  34. Options FollowSymLinks
  35. Require all granted
  36. </Directory>
  37. </VirtualHost>