Proxy and connections
Proxy
Questa sezione copre la configurazione del proxy tramite variabili d'ambiente. In alternativa,
| | Configurazione GUI | Variabile d'ambiente
Le seguenti variabili d'ambiente possono essere usate per configurare le impostazioni proxy. Regola il valore.
HTTP_PROXYVariabile per il traffico HTTP. Impostala sull'indirizzo del tuo server proxy, incl.
shexport HTTP_PROXY="http://127.0.0.1:8080"HTTPS_PROXYVariabile per il traffico HTTPS. Impostala sull'indirizzo del tuo server proxy, in.
shexport HTTPS_PROXY="http://127.0.0.1:8080"NO_PROXYVariabile per gli indirizzi a cui accedere direttamente e senza proxy. Es.
shexport NO_PROXY="localhost,127.0.0.1,.example.com"ES_JAVA_OPTSVariabile per impostare un proxy per Elasticsearch. Per impostazione predefinita, Elasticsearch non comunica con sistemi esterni durante il funzionamento. Tuttavia, possono esserci casi in cui ciò è necessario. Esempio:
shexport ES_JAVA_OPTS="-Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8080 -Dhttps.proxyHost=
TIP
A seconda del tuo ambiente, potresti voler usare le varianti minuscole delle variabili.
External connections
Durante l'installazione e il funzionamento di Zammad, sono necessarie alcune connessioni a servizi online.
| [Address] | Comment |
|---|---|
| dl.packager.io | Download del pacchetto OS (installazione del pacchetto) |
| go.packager.io | Come sopra; nuovo servizio di hosting dei pacchetti |
| geo.zammad.com | Utilizzato per i dati geografici |
| google.com | Download dei giorni festivi per il calendario |
| index.rubygems.org | Download delle gem per Ruby |
| registry.npmjs.org | Download delle dipendenze JS |
Puoi usare uno script per controllare lo stato di connessione del tuo sistema. Cerca di connettersi a.
Recupera lo script da remoto:
curl -fsSL https://raw.githubusercontent.com/zammad/zammad/refs/heads/stable/contrib/packaUsa lo script locale:
/opt/zammad/contrib/packager.io/test_download_dependencies_connection.shWeb push notifications
Zammad can notify agents about their tickets on mobile devices. These notifications are delivered as web push messages of the device's browser. On Android, a supported browser and the installed mobile view can both receive them. On iPhone and iPad, the mobile view has to be added to the home screen first. How to set them up on a device is described in the mobile view documentation.
The messages are sent by the background worker of Zammad over HTTPS (port 443) to the push service of the browser vendor. A firewall that restricts outgoing traffic has to allow the following addresses, including their subdomains:
| Address | Comment |
|---|---|
| fcm.googleapis.com | Web push for Chrome and other Chromium-based browsers |
| jmt17.google.com | Alternative address of the Google push service |
| notify.windows.com | Web push for Microsoft Edge |
| push.services.mozilla.com | Web push for Mozilla Firefox |
| web.push.apple.com | Web push for Safari on iPhone, iPad and Mac |
The proxy configuration described above applies to these connections as well, including the no-proxy list of the GUI configuration and the NO_PROXY environment variable.
Zammad only accepts device subscriptions of the push services listed above. A browser that uses another push service cannot enable push notifications.
There is nothing to configure in Zammad. The key pair used to sign the messages (VAPID) is generated once per installation and is not meant to be changed: all existing device subscriptions become invalid if it changes.
The push service of the browser vendor delivers the messages, not Zammad. Depending on the device, delivery can take a while, for example when battery optimization delays it on Android devices. A message that cannot be delivered right away is kept by the push service for up to one day. On iPhone and iPad, several messages about the same ticket stay as separate notifications, while other platforms replace the previous one.