Skip to content

Commit 538bdcb

Browse files
committed
Limit the bind for the HTTPS server on 8443 to 127.0.0.1
This server bind was overlooked
1 parent 18cf9b8 commit 538bdcb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## untagged
44

5+
- Limit the bind for the HTTPS server on 8443 to 127.0.0.1
6+
([#522](https://github.com/chatmail/server/pull/522))
7+
58
- Pass through `original_content` instead of `content` in filtermail
69
([#509](https://github.com/chatmail/server/pull/509))
710

cmdeploy/src/cmdeploy/nginx/nginx.conf.j2

+1-4
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,7 @@ http {
117117

118118
# Redirect www. to non-www
119119
server {
120-
listen 8443 ssl;
121-
{% if not disable_ipv6 %}
122-
listen [::]:8443 ssl;
123-
{% endif %}
120+
listen 127.0.0.1:8443 ssl;
124121
server_name www.{{ config.domain_name }};
125122
return 301 $scheme://{{ config.domain_name }}$request_uri;
126123
access_log syslog:server=unix:/dev/log,facility=local7;

0 commit comments

Comments
 (0)