summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2018-04-11 15:51:50 +0000
committerflorian <florian@openbsd.org>2018-04-11 15:51:50 +0000
commitb9d9ad460ab53d6b289eaf264e6fd115ca430a87 (patch)
tree2e0c8f189044f4afd8573b5a8a7d255f59a7fb06
parentMake httpd listen on all IPv4 and IPv6 addresses for (diff)
downloadwireguard-openbsd-b9d9ad460ab53d6b289eaf264e6fd115ca430a87.tar.xz
wireguard-openbsd-b9d9ad460ab53d6b289eaf264e6fd115ca430a87.zip
"listen on * port 80" means all v4 and v6 addresses these days.
OK benno
-rw-r--r--etc/examples/httpd.conf4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/examples/httpd.conf b/etc/examples/httpd.conf
index 4e2e243bd65..9d51cd4e561 100644
--- a/etc/examples/httpd.conf
+++ b/etc/examples/httpd.conf
@@ -1,8 +1,7 @@
-# $OpenBSD: httpd.conf,v 1.18 2018/03/23 11:36:41 florian Exp $
+# $OpenBSD: httpd.conf,v 1.19 2018/04/11 15:51:50 florian Exp $
server "example.com" {
listen on * port 80
- listen on :: port 80
location "/.well-known/acme-challenge/*" {
root "/acme"
root strip 2
@@ -14,7 +13,6 @@ server "example.com" {
server "example.com" {
listen on * tls port 443
- listen on :: tls port 443
tls {
certificate "/etc/ssl/example.com.fullchain.pem"
key "/etc/ssl/private/example.com.key"