summaryrefslogtreecommitdiff
path: root/etc/examples
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2018-04-11 15:51:51 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2018-04-11 15:51:51 +0000
commit46bfe0cd870312b14caa2e92f803ef8e71006d78 (patch)
tree01c918c06effbefafc3d4ebff112b2506d9bd4fe /etc/examples
parent6201bf4ab5727a05faba87288c949de64141246f (diff)
"listen on * port 80" means all v4 and v6 addresses these days.
OK benno
Diffstat (limited to 'etc/examples')
-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"