Closed wyl765703064 closed 1 year ago
@zulip-docker
This issue is likely caused by configuring EXTERNAL_HOST
type settings incorrectly, such that the Zulip server thinks it has a different URL than the one your users are accessing on it.
I'll also note that we only support disabling HTTPS to use Zulip behind a reverse proxy that does SSL termination; directly accessing a Zulip server without SSL is not supported.
So how should I make static resources also the ports I configure @timabbott
Describe the bug
Disable Https to modify port static resources that are not modified ports
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
Additional context
version: "2" services: database: image: "zulip/zulip-postgresql:14" restart: unless-stopped environment: POSTGRES_DB: "zulip" POSTGRES_USER: "zulip"
Note that you need to do a manual
ALTER ROLE
query if youmemcached: image: "memcached:alpine" restart: unless-stopped command:
Change these if you want to build zulip from a different repo/branch
ports:
These should match RABBITMQ_DEFAULT_PASS, POSTGRES_PASSWORD,
MEMCACHED_PASSWORD, and REDIS_PASSWORD above.
SECRETS_rabbitmq_password: "REPLACE_WITH_SECURE_RABBITMQ_PASSWORD" SECRETS_postgres_password: "REPLACE_WITH_SECURE_POSTGRES_PASSWORD" SECRETS_memcached_password: "REPLACE_WITH_SECURE_MEMCACHED_PASSWORD" SECRETS_redis_password: "REPLACE_WITH_SECURE_REDIS_PASSWORD" SECRETS_secret_key: "REPLACE_WITH_SECURE_SECRET_KEY" SETTING_EXTERNAL_HOST: "xxx.xxx.xxx.xxx" SETTING_ZULIP_ADMINISTRATOR: "xxx" SETTING_EMAIL_HOST: "xxx" # e.g. smtp.example.com SETTING_EMAIL_HOST_USER: "xxx" SETTING_EMAIL_PORT: "465"
It seems that the email server needs to use ssl or tls and can't be used without it
SETTING_EMAIL_USE_SSL: "True" SETTING_EMAIL_USE_TLS: "False" ZULIP_AUTH_BACKENDS: "EmailAuthBackend"
Uncomment this when configuring the mobile push notifications service
SETTING_PUSH_NOTIFICATION_BOUNCER_URL: 'https://push.zulipchat.com'
DISABLE_HTTPS: "True" volumes:
Problem description: After startup, accessing static resources on the page is not the port I configured above
Problem screenshot: