- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 286
 
Proxying via nginx on host machine
        Alex Vandiver edited this page Jun 13, 2023 
        ·
        4 revisions
      
    To proxy connections to the docker-zulip container from nginx running on a host machine, you'll want to follow the standard deployment recommendations for putting Zulip behind a proxy.
- 
Add a
/etc/nginx/sites-enabled/zulip.example.com.conf, based on the suggestednginxconfiguration. You should use aproxy_passofhttp://127.0.0.1:8080. - 
Use these settings in your
docker-compose.yml:... zulip: ports: - "8080:80" environment: # Other settings... SETTING_EXTERNAL_HOST: "zulip.example.com" DISABLE_HTTPS: true LOADBALANCER_IPS: 172.16.0.0/20
If your Docker network is something other than 172.16.0.0/20 (or a subset thereof), adjust
LOADBALANCER_IPSaccordingly.