question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve the documentation about putting Zulip behind a reverse proxy

See original GitHub issue

Hi everyone,

Currently there’s some guidance on how to run Zulip behind a reverse proxy in the documentation, but it appears to be outdated. Starting from #17765 you need to also set the following in zulip.conf; otherwise Zulip thinks all connections come from the reverse proxy itself and IPs are misreported in e.g. “new login” emails.

[loadbalancer]
ips = <ip of the reverse proxy>

Additionally, the guidance to set USE_X_FORWARDED_HOST = True in the Apache section seems to be out of date; this variable is present in the computed settings but I could not find any place in where it is used in the codebase. Maybe it needs to be cleaned from settings as well?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alexmvcommented, Nov 23, 2021

USE_X_FORWARDED_HOST is a core Django setting, which is why it doesn’t show up in the Zulip code. 😃

0reactions
alexmvcommented, Jun 27, 2022

@NexZhu: You can use CIDR ranges when specifying IPs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deployment options — Zulip 7.0-dev+git documentation
Zulip is designed to support being run behind a reverse proxy server. This section contains notes on the configuration required with variable reverse...
Read more >
Connect through a proxy | Zulip help center
Click on the gear () icon in the bottom left corner of the app. Select the Network tab. Click Use system proxy settings....
Read more >
Zulip Documentation - Read the Docs
Installing the Zulip Development environment . ... Enabled camo image proxy to fix mixed-content warnings for http images. ... being behind).
Read more >
Zulip - The Software Engineering Research Group
The concept of using team chats to improve the quality of communication and ... Zulip is designed to run behind a reverse proxy...
Read more >
Installing ShareLaTeX | Scaleway Documentation
This tutorial explains how to install a secure ShareLaTeX ... To run ShareLaTeX behind an NGINX reverse proxy, edit the port on which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found