We placed it in footer.php of the Wordpress theme, just before the closing body tag.
Please note, if your theme already uses jQuery (most themes do) make sure not to load jQuery again.
Furthermore you’ll need to slightly change Zammad’ example js code to avoid function conflicts.
That was a example URL. Not the real one. On the main URL is a Zammad installation. Its a internal installation so not available via Internet.
The upper response is out of the Browser Network analyzer
I wont say that there is maybe a problem in the Proxy Konfiguration but normally its the same like everyone else use it aswell. But i dont get a response of the wss url.
I also checked if the ports are up, netstat says yes.
Here my Configuration:
etc/apache2/sites-enabled/zammad_ssl.conf
#
# this is an example apache 2.4 config for zammad
# Please visit https://docs.zammad.org for further input on how to configure
# your apache to work with Zammad
#
# security - prevent information disclosure about server version
ServerTokens Prod
<VirtualHost *:80>
ServerName ticketsystem.testurl.de
Redirect permanent / https://ticketsystem.testurl.de
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLCertificateFile /etc/ssl/certs/20200603.pem
SSLCertificateKeyFile /etc/ssl/private/20200603.key
# replace 'localhost' with your fqdn if you want to use zammad from remote
ServerName ticketsystem.testurl.de
## 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 127.0.0.1:3000>
Require local
</Proxy>
RequestHeader set X_FORWARDED_PROTO 'https'
RequestHeader set X-Forwarded-Ssl on
ProxyPass /assets !
ProxyPass /favicon.ico !
ProxyPass /apple-touch-icon.png !
ProxyPass /robots.txt !
ProxyPass /ws ws://127.0.0.1:6042/
ProxyPass / http://127.0.0.1:3000/
# change this line in an SSO setup
RequestHeader unset X-Forwarded-User
# Use settings below if proxying does not work and you receive HTTP-Errror 404
# if you use the settings below, make sure to comment out the above two options
# This may not apply to all systems, applies to openSuse
# ProxyPass /ws ws://127.0.0.1:6042/ "retry=1 acque=3000 timeout=600 keepalive=On"
# ProxyPass / http://127.0.0.1:3000/ "retry=1 acque=3000 timeout=600 keepalive=On"
DocumentRoot "/opt/zammad/public"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/opt/zammad/public">
Options FollowSymLinks
Require all granted
</Directory>
</VirtualHost>