Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions appendix/proxy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
Proxy and Connections
======================

If you want to route Zammad's traffic over a proxy, you can find information
about it on this page.

Proxy Variables
---------------

The following environment variables can be used to configure proxy settings.
Set it the way you want and adjust the values to your use case:

.. code-block:: sh

export HTTP_PROXY="http://127.0.0.1:8080"

.. code-block:: sh

export HTTPS_PROXY="http://127.0.0.1:8080"

.. code-block:: sh

export ES_JAVA_OPTS="-Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8080 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=8080"

.. hint::
Depending on your environment, you might want to use the lower case variants
of the variables as well. If in doubt, set both variants, e.g. like that:

.. code-block:: sh

export http_proxy=$HTTP_PROXY
export https_proxy=$HTTPS_PROXY
export es_java_opts=$ES_JAVA_OPTS

Download Dependencies
---------------------

During installation and operation of Zammad, some connections to online services
are required. Depending on your installation method and Zammad configuration,
a connection to the following services is made (maybe also helpful for firewall
configuration):

.. csv-table::
:header: "Address", "Comment"
:widths: 40, 70

"artifacts.elastic.co", "Download of the ingest plugin (only ES < 8)"
"dl.packager.io", "Download of OS package (package installation)"
"go.packager.io", "As above; new package hosting service"
"geo.zammad.com", "Used for geo data"
"google.com", "Download of feast days for the calendar"
"index.rubygems.org", "Download of gems for ruby"
"registry.npmjs.org", "Download of js dependencies"

Test Script
-----------

You can use a script to check the connection state of your system. Run it either
by fetching it from the Zammad repository or by executing the local version on
your Zammad machine:

Remote:

.. code-block:: sh

curl -fsSL https://raw.githubusercontent.com/zammad/zammad/refs/heads/stable/contrib/packager.io/test_download_dependencies_connection.sh | sh

Local:

.. code-block:: sh

/opt/zammad/contrib/packager.io/test_download_dependencies_connection.sh

This script will try to connect to the services mentioned above and show the
results. If everything is fine, you should see a checkmark for each contacted
service.
1 change: 1 addition & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Zammad System Documentation
/appendix/configure-database-server
/appendix/migrate-to-postgresql
/appendix/privacy
/appendix/proxy
/appendix/single-sign-on
/appendix/reporting-tools-thirdparty
/appendix/redis
Expand Down