zammad.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. # legacy web socket server
  25. ProxyPass /ws ws://127.0.0.1:6042/
  26. # action cable
  27. ProxyPass /cable ws://127.0.0.1:3000/cable
  28. ProxyPass / http://127.0.0.1:3000/
  29. # change this line in an SSO setup
  30. RequestHeader unset X-Forwarded-User
  31. DocumentRoot "/opt/zammad/public"
  32. <Directory />
  33. Options FollowSymLinks
  34. AllowOverride None
  35. </Directory>
  36. <Directory "/opt/zammad/public">
  37. Options FollowSymLinks
  38. Require all granted
  39. </Directory>
  40. </VirtualHost>