OpenBSD bgplg cgi script help

(Avinash H Duduskar) #1

I’m trying to get OpenBSD’s bgplg (BGP looking glass) working with Caddy.
The original implementation assumed nginx and works well with this config:

server "" { 
	listen on $ext_addr port 80 
	location "/cgi-bin/*" { 
		root "" 

When I try to get this working in Caddy I see the page load, but the drop down menu (using the binary bgplgsh) does not work. nginx would assume the existence of resolv.conf and a few related binaries under:


It would also use a local socket to communicate with the bgp daemon:
socket "/var/www/run/bgpd.rsock" restricted


Any help on getting this to work with Caddy is appreciated, it’d help me turn off running nginx on port 81.

(system) #2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.