mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Whatever dist/ functionality this had in 2014 is now served by zulip.org, and since this serves as a sample, it should be as simple as possible. Previously, this was more cluttered than it needed to be.
17 lines
519 B
Plaintext
17 lines
519 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/nginx/zulip-include/app;
|
|
}
|