History log of /openbsd-current/etc/examples/httpd.conf
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.22 04-Nov-2020 denis

Back out last commit.

Some devs are not convinced.


# 1.21 02-Nov-2020 denis

acme response challenge location to issue better error code

Notified to me by jmc@

Diff by Matthias Pressfreund <mpfr @ fn de>, thanks


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.20 13-Jun-2018 reyk

Rename httpd.conf "root strip" option to "request strip".

"root strip" was semantically incorrect and did cause some confusion
as it never stripped the root but the client's request path.

Discussed with many. Heads up: this is a grammar change that also
affects acme-client(1) configurations (see current.html).

OK claudio@


# 1.19 11-Apr-2018 florian

"listen on * port 80" means all v4 and v6 addresses these days.
OK benno


Revision tags: OPENBSD_6_3_BASE
# 1.18 23-Mar-2018 florian

Provide an example httpd.conf that's actually useful.
With & OK deraadt
input sthen
looks better to beck
OK benno


Revision tags: OPENBSD_6_2_BASE
# 1.17 16-Apr-2017 ajacoutot

Remove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)
that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf example
accordingly.

ok florian@ benno@ millert@


Revision tags: OPENBSD_6_1_BASE
# 1.16 17-Sep-2016 tj

pathnames for cert and key files need to be quoted.

reported by brynet


# 1.15 17-Sep-2016 tj

add example certificate and key files generated with acme-client.

ok florian


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.14 04-Feb-2015 florian

Typo
From Michael (lesniewskister AT gmail), thanks!


# 1.13 28-Dec-2014 reyk

Change the default ext_addr from "egress" to "*". Listening on the
egress group only works if you have a default route; this confused
some people.


# 1.12 12-Dec-2014 reyk

Like previously done in relayd, change the keyword "ssl" to "tls" to
reflect reality.

OK benno@


# 1.11 25-Aug-2014 reyk

Add a generic system-wide /usr/share/misc/mime.types file that can be
included in httpd.conf. httpd(8) now supports both mime.types
flavours with or without semicolon at the end of the line (nginx- or
apache-style).

Discussed with many, with input from halex@
OK halex@


Revision tags: OPENBSD_5_6_BASE
# 1.10 06-Aug-2014 reyk

Change grammar to remove a shift/reduce conflict that was introduced
with the ssl options.
"listen on $ip port 443 ssl" turns into "listen on $ip ssl port 443".

ok florian@


# 1.9 05-Aug-2014 reyk

Add configuration options for the most-important connection limits:
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.


# 1.8 04-Aug-2014 reyk

Add HTTPS server example.


# 1.7 04-Aug-2014 reyk

Change grammar from "log [style]" to "log style [style]".


# 1.6 03-Aug-2014 reyk

The first server example should be the "minimal default" to illustrate
that you don't have to push all kinds of buttons to run httpd.


# 1.5 03-Aug-2014 reyk

More examples, include FastCGI for php and cgi-bin and logging.


# 1.4 30-Jul-2014 reyk

Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.


# 1.3 29-Jul-2014 reyk

Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.

ok deraadt@


# 1.2 26-Jul-2014 reyk

Add more examples. Requested by deraadt@


# 1.1 22-Jul-2014 reyk

Add initial httpd.conf(5) example for httpd(8)

Requested by deraadt@


# 1.21 02-Nov-2020 denis

acme response challenge location to issue better error code

Notified to me by jmc@

Diff by Matthias Pressfreund <mpfr @ fn de>, thanks


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.20 13-Jun-2018 reyk

Rename httpd.conf "root strip" option to "request strip".

"root strip" was semantically incorrect and did cause some confusion
as it never stripped the root but the client's request path.

Discussed with many. Heads up: this is a grammar change that also
affects acme-client(1) configurations (see current.html).

OK claudio@


# 1.19 11-Apr-2018 florian

"listen on * port 80" means all v4 and v6 addresses these days.
OK benno


Revision tags: OPENBSD_6_3_BASE
# 1.18 23-Mar-2018 florian

Provide an example httpd.conf that's actually useful.
With & OK deraadt
input sthen
looks better to beck
OK benno


Revision tags: OPENBSD_6_2_BASE
# 1.17 16-Apr-2017 ajacoutot

Remove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)
that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf example
accordingly.

ok florian@ benno@ millert@


Revision tags: OPENBSD_6_1_BASE
# 1.16 17-Sep-2016 tj

pathnames for cert and key files need to be quoted.

reported by brynet


# 1.15 17-Sep-2016 tj

add example certificate and key files generated with acme-client.

ok florian


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.14 04-Feb-2015 florian

Typo
From Michael (lesniewskister AT gmail), thanks!


# 1.13 28-Dec-2014 reyk

Change the default ext_addr from "egress" to "*". Listening on the
egress group only works if you have a default route; this confused
some people.


# 1.12 12-Dec-2014 reyk

Like previously done in relayd, change the keyword "ssl" to "tls" to
reflect reality.

OK benno@


# 1.11 25-Aug-2014 reyk

Add a generic system-wide /usr/share/misc/mime.types file that can be
included in httpd.conf. httpd(8) now supports both mime.types
flavours with or without semicolon at the end of the line (nginx- or
apache-style).

Discussed with many, with input from halex@
OK halex@


Revision tags: OPENBSD_5_6_BASE
# 1.10 06-Aug-2014 reyk

Change grammar to remove a shift/reduce conflict that was introduced
with the ssl options.
"listen on $ip port 443 ssl" turns into "listen on $ip ssl port 443".

ok florian@


# 1.9 05-Aug-2014 reyk

Add configuration options for the most-important connection limits:
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.


# 1.8 04-Aug-2014 reyk

Add HTTPS server example.


# 1.7 04-Aug-2014 reyk

Change grammar from "log [style]" to "log style [style]".


# 1.6 03-Aug-2014 reyk

The first server example should be the "minimal default" to illustrate
that you don't have to push all kinds of buttons to run httpd.


# 1.5 03-Aug-2014 reyk

More examples, include FastCGI for php and cgi-bin and logging.


# 1.4 30-Jul-2014 reyk

Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.


# 1.3 29-Jul-2014 reyk

Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.

ok deraadt@


# 1.2 26-Jul-2014 reyk

Add more examples. Requested by deraadt@


# 1.1 22-Jul-2014 reyk

Add initial httpd.conf(5) example for httpd(8)

Requested by deraadt@


# 1.20 13-Jun-2018 reyk

Rename httpd.conf "root strip" option to "request strip".

"root strip" was semantically incorrect and did cause some confusion
as it never stripped the root but the client's request path.

Discussed with many. Heads up: this is a grammar change that also
affects acme-client(1) configurations (see current.html).

OK claudio@


# 1.19 11-Apr-2018 florian

"listen on * port 80" means all v4 and v6 addresses these days.
OK benno


Revision tags: OPENBSD_6_3_BASE
# 1.18 23-Mar-2018 florian

Provide an example httpd.conf that's actually useful.
With & OK deraadt
input sthen
looks better to beck
OK benno


Revision tags: OPENBSD_6_2_BASE
# 1.17 16-Apr-2017 ajacoutot

Remove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)
that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf example
accordingly.

ok florian@ benno@ millert@


Revision tags: OPENBSD_6_1_BASE
# 1.16 17-Sep-2016 tj

pathnames for cert and key files need to be quoted.

reported by brynet


# 1.15 17-Sep-2016 tj

add example certificate and key files generated with acme-client.

ok florian


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.14 04-Feb-2015 florian

Typo
From Michael (lesniewskister AT gmail), thanks!


# 1.13 28-Dec-2014 reyk

Change the default ext_addr from "egress" to "*". Listening on the
egress group only works if you have a default route; this confused
some people.


# 1.12 12-Dec-2014 reyk

Like previously done in relayd, change the keyword "ssl" to "tls" to
reflect reality.

OK benno@


# 1.11 25-Aug-2014 reyk

Add a generic system-wide /usr/share/misc/mime.types file that can be
included in httpd.conf. httpd(8) now supports both mime.types
flavours with or without semicolon at the end of the line (nginx- or
apache-style).

Discussed with many, with input from halex@
OK halex@


Revision tags: OPENBSD_5_6_BASE
# 1.10 06-Aug-2014 reyk

Change grammar to remove a shift/reduce conflict that was introduced
with the ssl options.
"listen on $ip port 443 ssl" turns into "listen on $ip ssl port 443".

ok florian@


# 1.9 05-Aug-2014 reyk

Add configuration options for the most-important connection limits:
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.


# 1.8 04-Aug-2014 reyk

Add HTTPS server example.


# 1.7 04-Aug-2014 reyk

Change grammar from "log [style]" to "log style [style]".


# 1.6 03-Aug-2014 reyk

The first server example should be the "minimal default" to illustrate
that you don't have to push all kinds of buttons to run httpd.


# 1.5 03-Aug-2014 reyk

More examples, include FastCGI for php and cgi-bin and logging.


# 1.4 30-Jul-2014 reyk

Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.


# 1.3 29-Jul-2014 reyk

Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.

ok deraadt@


# 1.2 26-Jul-2014 reyk

Add more examples. Requested by deraadt@


# 1.1 22-Jul-2014 reyk

Add initial httpd.conf(5) example for httpd(8)

Requested by deraadt@


# 1.19 11-Apr-2018 florian

"listen on * port 80" means all v4 and v6 addresses these days.
OK benno


Revision tags: OPENBSD_6_3_BASE
# 1.18 23-Mar-2018 florian

Provide an example httpd.conf that's actually useful.
With & OK deraadt
input sthen
looks better to beck
OK benno


Revision tags: OPENBSD_6_2_BASE
# 1.17 16-Apr-2017 ajacoutot

Remove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)
that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf example
accordingly.

ok florian@ benno@ millert@


Revision tags: OPENBSD_6_1_BASE
# 1.16 17-Sep-2016 tj

pathnames for cert and key files need to be quoted.

reported by brynet


# 1.15 17-Sep-2016 tj

add example certificate and key files generated with acme-client.

ok florian


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.14 04-Feb-2015 florian

Typo
From Michael (lesniewskister AT gmail), thanks!


# 1.13 28-Dec-2014 reyk

Change the default ext_addr from "egress" to "*". Listening on the
egress group only works if you have a default route; this confused
some people.


# 1.12 12-Dec-2014 reyk

Like previously done in relayd, change the keyword "ssl" to "tls" to
reflect reality.

OK benno@


# 1.11 25-Aug-2014 reyk

Add a generic system-wide /usr/share/misc/mime.types file that can be
included in httpd.conf. httpd(8) now supports both mime.types
flavours with or without semicolon at the end of the line (nginx- or
apache-style).

Discussed with many, with input from halex@
OK halex@


Revision tags: OPENBSD_5_6_BASE
# 1.10 06-Aug-2014 reyk

Change grammar to remove a shift/reduce conflict that was introduced
with the ssl options.
"listen on $ip port 443 ssl" turns into "listen on $ip ssl port 443".

ok florian@


# 1.9 05-Aug-2014 reyk

Add configuration options for the most-important connection limits:
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.


# 1.8 04-Aug-2014 reyk

Add HTTPS server example.


# 1.7 04-Aug-2014 reyk

Change grammar from "log [style]" to "log style [style]".


# 1.6 03-Aug-2014 reyk

The first server example should be the "minimal default" to illustrate
that you don't have to push all kinds of buttons to run httpd.


# 1.5 03-Aug-2014 reyk

More examples, include FastCGI for php and cgi-bin and logging.


# 1.4 30-Jul-2014 reyk

Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.


# 1.3 29-Jul-2014 reyk

Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.

ok deraadt@


# 1.2 26-Jul-2014 reyk

Add more examples. Requested by deraadt@


# 1.1 22-Jul-2014 reyk

Add initial httpd.conf(5) example for httpd(8)

Requested by deraadt@


Revision tags: OPENBSD_6_3_BASE
# 1.18 23-Mar-2018 florian

Provide an example httpd.conf that's actually useful.
With & OK deraadt
input sthen
looks better to beck
OK benno


Revision tags: OPENBSD_6_2_BASE
# 1.17 16-Apr-2017 ajacoutot

Remove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)
that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf example
accordingly.

ok florian@ benno@ millert@


Revision tags: OPENBSD_6_1_BASE
# 1.16 17-Sep-2016 tj

pathnames for cert and key files need to be quoted.

reported by brynet


# 1.15 17-Sep-2016 tj

add example certificate and key files generated with acme-client.

ok florian


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.14 04-Feb-2015 florian

Typo
From Michael (lesniewskister AT gmail), thanks!


# 1.13 28-Dec-2014 reyk

Change the default ext_addr from "egress" to "*". Listening on the
egress group only works if you have a default route; this confused
some people.


# 1.12 12-Dec-2014 reyk

Like previously done in relayd, change the keyword "ssl" to "tls" to
reflect reality.

OK benno@


# 1.11 25-Aug-2014 reyk

Add a generic system-wide /usr/share/misc/mime.types file that can be
included in httpd.conf. httpd(8) now supports both mime.types
flavours with or without semicolon at the end of the line (nginx- or
apache-style).

Discussed with many, with input from halex@
OK halex@


Revision tags: OPENBSD_5_6_BASE
# 1.10 06-Aug-2014 reyk

Change grammar to remove a shift/reduce conflict that was introduced
with the ssl options.
"listen on $ip port 443 ssl" turns into "listen on $ip ssl port 443".

ok florian@


# 1.9 05-Aug-2014 reyk

Add configuration options for the most-important connection limits:
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.


# 1.8 04-Aug-2014 reyk

Add HTTPS server example.


# 1.7 04-Aug-2014 reyk

Change grammar from "log [style]" to "log style [style]".


# 1.6 03-Aug-2014 reyk

The first server example should be the "minimal default" to illustrate
that you don't have to push all kinds of buttons to run httpd.


# 1.5 03-Aug-2014 reyk

More examples, include FastCGI for php and cgi-bin and logging.


# 1.4 30-Jul-2014 reyk

Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.


# 1.3 29-Jul-2014 reyk

Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.

ok deraadt@


# 1.2 26-Jul-2014 reyk

Add more examples. Requested by deraadt@


# 1.1 22-Jul-2014 reyk

Add initial httpd.conf(5) example for httpd(8)

Requested by deraadt@


Revision tags: OPENBSD_6_2_BASE
# 1.17 16-Apr-2017 ajacoutot

Remove /etc/ssl/acme/. We don't need it now that we have a default acme-conf(5)
that direclty uses /etc/ssl/{,private} by default. Adapt the httpd.conf example
accordingly.

ok florian@ benno@ millert@


Revision tags: OPENBSD_6_1_BASE
# 1.16 17-Sep-2016 tj

pathnames for cert and key files need to be quoted.

reported by brynet


# 1.15 17-Sep-2016 tj

add example certificate and key files generated with acme-client.

ok florian


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.14 04-Feb-2015 florian

Typo
From Michael (lesniewskister AT gmail), thanks!


# 1.13 28-Dec-2014 reyk

Change the default ext_addr from "egress" to "*". Listening on the
egress group only works if you have a default route; this confused
some people.


# 1.12 12-Dec-2014 reyk

Like previously done in relayd, change the keyword "ssl" to "tls" to
reflect reality.

OK benno@


# 1.11 25-Aug-2014 reyk

Add a generic system-wide /usr/share/misc/mime.types file that can be
included in httpd.conf. httpd(8) now supports both mime.types
flavours with or without semicolon at the end of the line (nginx- or
apache-style).

Discussed with many, with input from halex@
OK halex@


Revision tags: OPENBSD_5_6_BASE
# 1.10 06-Aug-2014 reyk

Change grammar to remove a shift/reduce conflict that was introduced
with the ssl options.
"listen on $ip port 443 ssl" turns into "listen on $ip ssl port 443".

ok florian@


# 1.9 05-Aug-2014 reyk

Add configuration options for the most-important connection limits:
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.


# 1.8 04-Aug-2014 reyk

Add HTTPS server example.


# 1.7 04-Aug-2014 reyk

Change grammar from "log [style]" to "log style [style]".


# 1.6 03-Aug-2014 reyk

The first server example should be the "minimal default" to illustrate
that you don't have to push all kinds of buttons to run httpd.


# 1.5 03-Aug-2014 reyk

More examples, include FastCGI for php and cgi-bin and logging.


# 1.4 30-Jul-2014 reyk

Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.


# 1.3 29-Jul-2014 reyk

Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.

ok deraadt@


# 1.2 26-Jul-2014 reyk

Add more examples. Requested by deraadt@


# 1.1 22-Jul-2014 reyk

Add initial httpd.conf(5) example for httpd(8)

Requested by deraadt@