summaryrefslogtreecommitdiff
path: root/usr.bin/bgplg
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2013-09-03 20:36:03 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2013-09-03 20:36:03 +0000
commit1a34e802c4ab89d84972694b2436335a604ea048 (patch)
treea700a63ed0baa7eaf944874d39b36468e87295a5 /usr.bin/bgplg
parent972691cf5b9d05454b21bd3cdb1af42e88b7f781 (diff)
Update bgplg(8) to describe the configuration for nginx(8) and
slowcgi(8) instead of the old "Apache" httpd(8). Requested by florian@ and my others. ok jmc@
Diffstat (limited to 'usr.bin/bgplg')
-rw-r--r--usr.bin/bgplg/bgplg.834
1 files changed, 25 insertions, 9 deletions
diff --git a/usr.bin/bgplg/bgplg.8 b/usr.bin/bgplg/bgplg.8
index 05f2609cae6..9152b518b0f 100644
--- a/usr.bin/bgplg/bgplg.8
+++ b/usr.bin/bgplg/bgplg.8
@@ -1,6 +1,6 @@
-.\" $OpenBSD: bgplg.8,v 1.12 2013/07/16 00:07:51 schwarze Exp $
+.\" $OpenBSD: bgplg.8,v 1.13 2013/09/03 20:36:02 reyk Exp $
.\"
-.\" Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org>
+.\" Copyright (c) 2005, 2006, 2013 Reyk Floeter <reyk@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -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: July 16 2013 $
+.Dd $Mdocdate: September 3 2013 $
.Dt BGPLG 8
.Os
.Sh NAME
@@ -105,10 +105,25 @@ open a second, restricted, control socket:
.Pp
.Dl socket \&"/var/www/run/bgpd.rsock\&" restricted
.It
-Start the Apache HyperText Transfer Protocol server.
-See
-.Xr httpd 8
-for more information.
+Start the
+.Xr nginx 8
+and
+.Xr slowcgi 8
+servers after configuring the related
+.Ic server
+section in
+.Pa /etc/nginx/nginx.conf .
+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;
+}
+.Ed
.El
.Sh FILES
.Bl -tag -width "/var/www/conf/bgplg.headXX" -compact
@@ -133,7 +148,7 @@ The following statically linked executables have been installed into
the
.Xr chroot 2
environment of the
-.Xr httpd 8
+.Xr nginx 8
server.
To enable the corresponding functionality, use the
.Xr chmod 1
@@ -177,7 +192,8 @@ Requires the set-user-ID bit, set the permission mode to 4555.
.Xr bgpctl 8 ,
.Xr bgpd 8 ,
.Xr bgplgsh 8 ,
-.Xr httpd 8
+.Xr nginx 8 ,
+.Xr slowcgi 8
.Sh HISTORY
The
.Nm