startup
script, but I could not see the attachment.
On Wednesday, May 2, 2012 8:47:34 PM UTC+2, Maxim Khitrov wrote:
For anyone interested in running a local godoc server on FreeBSD:
The attached rc.d script starts godoc as an unprivileged user, and
arranges for it to listen on 127.0.0.1:6060 and log to
/var/log/godoc.log. You can change all of these settings in rc.conf.
I run the server behind nginx and it's been working very well. The one
thing I couldn't figure out is if there is some simple way to specify
a root path for the URLs. The generated links are always absolute, so
serving the documentation from http://myserver/godoc/... doesn't work.
If someone has a solution for this, please let me know.
- Max
--For anyone interested in running a local godoc server on FreeBSD:
The attached rc.d script starts godoc as an unprivileged user, and
arranges for it to listen on 127.0.0.1:6060 and log to
/var/log/godoc.log. You can change all of these settings in rc.conf.
I run the server behind nginx and it's been working very well. The one
thing I couldn't figure out is if there is some simple way to specify
a root path for the URLs. The generated links are always absolute, so
serving the documentation from http://myserver/godoc/... doesn't work.
If someone has a solution for this, please let me know.
- Max
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.