diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-09-01 13:02:26 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-09-01 13:02:26 +0000 |
commit | 040de84b9a153f5ef3e7b8d20f57fd9947a56b37 (patch) | |
tree | e307166d2fe84ab22a1c44ed4b73d9c14c56a76b /usr.bin/bgplg/bgplg.8 | |
parent | deb730e07339d16195c6ca0ea5023ea59e38ca91 (diff) |
Replace the obsolete nginx example with an httpd(8) example.
ok jmc@
Diffstat (limited to 'usr.bin/bgplg/bgplg.8')
-rw-r--r-- | usr.bin/bgplg/bgplg.8 | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/usr.bin/bgplg/bgplg.8 b/usr.bin/bgplg/bgplg.8 index 9152b518b0f..a9f08c8a907 100644 --- a/usr.bin/bgplg/bgplg.8 +++ b/usr.bin/bgplg/bgplg.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bgplg.8,v 1.13 2013/09/03 20:36:02 reyk Exp $ +.\" $OpenBSD: bgplg.8,v 1.14 2014/09/01 13:02:25 reyk Exp $ .\" .\" Copyright (c) 2005, 2006, 2013 Reyk Floeter <reyk@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 3 2013 $ +.Dd $Mdocdate: September 1 2014 $ .Dt BGPLG 8 .Os .Sh NAME @@ -106,22 +106,23 @@ open a second, restricted, control socket: .Dl socket \&"/var/www/run/bgpd.rsock\&" restricted .It Start the -.Xr nginx 8 +.Xr httpd 8 and .Xr slowcgi 8 servers after configuring the related .Ic server section in -.Pa /etc/nginx/nginx.conf . +.Xr httpd.conf 5 . For example: .Bd -literal -offset indent -# FastCGI to CGI wrapper server -# -location /cgi-bin/ { - fastcgi_pass unix:run/slowcgi.sock; - fastcgi_split_path_info ^(/cgi-bin/[^/]+)(.*); - fastcgi_param PATH_INFO $fastcgi_path_info; - include fastcgi_params; +ext_addr="0.0.0.0" + +server "lg.example.net" { + listen on $ext_addr port 80 + location "/cgi-bin/*" { + fastcgi + root "" + } } .Ed .El @@ -148,7 +149,7 @@ The following statically linked executables have been installed into the .Xr chroot 2 environment of the -.Xr nginx 8 +.Xr httpd 8 server. To enable the corresponding functionality, use the .Xr chmod 1 @@ -192,7 +193,7 @@ Requires the set-user-ID bit, set the permission mode to 4555. .Xr bgpctl 8 , .Xr bgpd 8 , .Xr bgplgsh 8 , -.Xr nginx 8 , +.Xr httpd 8 , .Xr slowcgi 8 .Sh HISTORY The |