mirror of
https://github.com/chatmail/relay.git
synced 2026-05-20 04:48:06 +00:00
Limit the bind for the HTTPS server on 8443 to 127.0.0.1
This server bind was overlooked
This commit is contained in:
committed by
holger krekel
parent
e004a5e2f6
commit
8d34e036ec
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## untagged
|
## untagged
|
||||||
|
|
||||||
|
- Limit the bind for the HTTPS server on 8443 to 127.0.0.1
|
||||||
|
([#522](https://github.com/chatmail/server/pull/522))
|
||||||
|
([#532](https://github.com/chatmail/server/pull/532))
|
||||||
|
|
||||||
- Send SNI when connecting to outside servers
|
- Send SNI when connecting to outside servers
|
||||||
([#524](https://github.com/chatmail/server/pull/524))
|
([#524](https://github.com/chatmail/server/pull/524))
|
||||||
|
|
||||||
|
|||||||
@@ -117,10 +117,7 @@ http {
|
|||||||
|
|
||||||
# Redirect www. to non-www
|
# Redirect www. to non-www
|
||||||
server {
|
server {
|
||||||
listen 8443 ssl;
|
listen 127.0.0.1:8443 ssl;
|
||||||
{% if not disable_ipv6 %}
|
|
||||||
listen [::]:8443 ssl;
|
|
||||||
{% endif %}
|
|
||||||
server_name www.{{ config.domain_name }};
|
server_name www.{{ config.domain_name }};
|
||||||
return 301 $scheme://{{ config.domain_name }}$request_uri;
|
return 301 $scheme://{{ config.domain_name }}$request_uri;
|
||||||
access_log syslog:server=unix:/dev/log,facility=local7;
|
access_log syslog:server=unix:/dev/log,facility=local7;
|
||||||
|
|||||||
Reference in New Issue
Block a user