Quantcast
Viewing all articles
Browse latest Browse all 6761

Zammad with docker met mobole lost connect

Infos:

  • Used Zammad version: 6.3.1
  • Used Zammad installation type: docker-compose
  • Operating system: ubuntu20.04
  • Browser + version:

Expected behavior:

  • Mobile noticed lost connection with server

Actual behavior:

Steps to reproduce the behavior:

  • I check for the nginx’s conf for zammad and zammad_ssl
    # action cable
    location /cable {
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header CLIENT_IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_read_timeout 86400;
        proxy_pass http://zammad-railsserver;
    }

it have this ; my http setting is https and set our own domain.
i use a new nginx conf for reverse proxy

my nginx’s conf for reverse proxy :

server {
    listen 80;
    server_name support.domain.com;
    
    # 将HTTP请求重定向到HTTPS
    location / {
        return 301 https://$host$request_uri;
    }
}

server {
    listen 443 ssl;
    server_name support.domain.com;
    
    ssl_certificate /etc/nginx/ssl/fullchain5.pem;  # 修改为你的SSL证书路径
    ssl_certificate_key /etc/nginx/ssl/privkey5.pem;  # 修改为你的SSL证书私钥路径

    # 强制使用较强的SSL协议和加密套件
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers HIGH:!aNULL:!MD5;

    location / {
        proxy_pass http://192.168.8.201:8080;  # 修改为你的后端服务地址
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

    # 如果需要添加其他配置,请在此处添加
}

i see the post [Zammad 6.0 Mobile client issues - #42 by David_Martinez] ,but i don’t know how to further investigation


Viewing all articles
Browse latest Browse all 6761

Trending Articles