46 lines
961 B
Text
46 lines
961 B
Text
|
#
|
||
|
# this is the apache config for zammad
|
||
|
#
|
||
|
|
||
|
<VirtualHost *:80>
|
||
|
# replace 'localhost' with your fqdn if you want to use zammad from remote
|
||
|
ServerName localhost
|
||
|
|
||
|
## don't loose time with IP address lookups
|
||
|
HostnameLookups Off
|
||
|
|
||
|
## needed for named virtual hosts
|
||
|
UseCanonicalName Off
|
||
|
|
||
|
## configures the footer on server-generated documents
|
||
|
ServerSignature Off
|
||
|
|
||
|
ProxyRequests Off
|
||
|
ProxyPreserveHost On
|
||
|
|
||
|
<Proxy *>
|
||
|
Order deny,allow
|
||
|
Allow from localhost
|
||
|
</Proxy>
|
||
|
|
||
|
ProxyPass /assets !
|
||
|
ProxyPass /favicon.ico !
|
||
|
ProxyPass /robots.txt !
|
||
|
ProxyPass /ws ws://localhost:6042/
|
||
|
ProxyPass / http://localhost:3000/
|
||
|
|
||
|
DocumentRoot "/opt/zammad/public"
|
||
|
|
||
|
<Directory />
|
||
|
Options FollowSymLinks
|
||
|
AllowOverride None
|
||
|
</Directory>
|
||
|
|
||
|
<Directory "/opt/zammad/public">
|
||
|
Options FollowSymLinks
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
</Directory>
|
||
|
|
||
|
</VirtualHost>
|