mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
This allows straight-forward configuration of realm-based Tornado sharding through simply editing /etc/zulip/zulip.conf to configure shards and running scripts/refresh-sharding-and-restart. Co-Author-By: Mateusz Mandera <mateusz.mandera@zulip.com>
18 lines
563 B
Plaintext
18 lines
563 B
Plaintext
include /etc/nginx/zulip-include/upstreams;
|
|
|
|
server {
|
|
listen 443;
|
|
|
|
# While a proper wildcard cert is recommended, because nginx
|
|
# doesn't actually check SSL certificates when reverse proxying
|
|
# :(, one can get away with a snake-oil cert if one wants.
|
|
ssl on;
|
|
ssl_certificate /etc/ssl/certs/wildcard-zulipchat.com.combined-chain.crt;
|
|
ssl_certificate_key /etc/ssl/private/wildcard-zulipchat.com.key;
|
|
|
|
server_name zulipchat.com *.zulipchat.com;
|
|
|
|
include /etc/zulip/nginx_sharding.conf;
|
|
include /etc/nginx/zulip-include/app;
|
|
}
|