This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
openbsd:openhttpd [2019/11/11 05:29] jrmu |
openbsd:openhttpd [2019/11/11 05:31] jrmu |
||
---|---|---|---|
Line 54: | Line 54: | ||
<code> | <code> | ||
$ doas pfctl -f /etc/pf.conf | $ doas pfctl -f /etc/pf.conf | ||
- | </code> | ||
- | |||
- | Now you will almost certainly want openhttpd to use an SSL cert, so follow the [[openbsd:acme-client|acme-client]] instructions, then reset your web server: | ||
- | |||
- | <code> | ||
- | $ doas rcctl restart httpd | ||
</code> | </code> | ||
Line 66: | Line 60: | ||
<code> | <code> | ||
$ doas pkg_add curl | $ doas pkg_add curl | ||
- | $ curl example.org | + | $ curl example.com |
</code> | </code> | ||
Line 90: | Line 84: | ||
</body> | </body> | ||
</html> | </html> | ||
+ | </code> | ||
+ | |||
+ | Now you will almost certainly want openhttpd to use an SSL cert, so follow the [[openbsd:acme-client|acme-client]] instructions, then reset your web server: | ||
+ | |||
+ | <code> | ||
+ | $ doas rcctl restart httpd | ||
</code> | </code> | ||