added apache2 proxy config
This commit is contained in:
parent
7c077673c3
commit
6500154a83
2 changed files with 55 additions and 10 deletions
45
contrib/apache2/zammad.conf
Normal file
45
contrib/apache2/zammad.conf
Normal file
|
@ -0,0 +1,45 @@
|
|||
#
|
||||
# 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>
|
Loading…
Reference in a new issue