mirror of https://github.com/zulip/zulip.git
21 lines
661 B
Plaintext
21 lines
661 B
Plaintext
include /etc/nginx/zulip-include/upstreams;
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
|
|
# This server is behind an ALB, which does not check the
|
|
# certificate validity:
|
|
# https://kevin.burke.dev/kevin/aws-alb-validation-tls-reply/
|
|
#
|
|
# Snakeoil verts are good for 10 years after initial creation, but
|
|
# the ALBs don't even check expiration. ¯\_(ツ)_/¯
|
|
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
|
|
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
|
|
|
|
server_name zulipchat.com *.zulipchat.com;
|
|
|
|
include /etc/zulip/nginx_sharding.conf;
|
|
include /etc/nginx/zulip-include/app;
|
|
}
|