|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: httpd.conf,v 1.3 2014/07/29 16:17:28 reyk Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: httpd.conf,v 1.4 2014/07/30 10:05:14 reyk Exp $ |
|
|
|
|
|
|
|
|
# Macros |
|
|
# Macros |
|
|
ext_addr="egress" |
|
|
ext_addr="egress" |
|
@ -9,6 +9,9 @@ ext_addr="egress" |
|
|
# Servers |
|
|
# Servers |
|
|
server "default" { |
|
|
server "default" { |
|
|
listen on $ext_addr port 80 |
|
|
listen on $ext_addr port 80 |
|
|
|
|
|
location "/pub/*" { |
|
|
|
|
|
directory auto index |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# A name-based "virtual" server on the same address |
|
|
# A name-based "virtual" server on the same address |
|
|