mirror of https://github.com/zulip/zulip.git
nginx: Listen for ACME challenges on port 80 too.
This should make Certbot renewals more reliable. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
257a026f13
commit
09ea778db1
|
@ -3,7 +3,12 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
return 301 https://$host$request_uri;
|
|
||||||
|
location / {
|
||||||
|
return 301 https://$host$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
|
include /etc/nginx/zulip-include/certbot;
|
||||||
}
|
}
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue