Dear all,
my sample code had a small mistake

ns_register_filter preauth POST * proxy::upstream -target 
https://localhost:8443 {-timeout 5:0}

should of course read as

ns_register_filter preauth POST * proxy::upstream -target 
https://localhost:8443 -timeout 5:0

Sorry for the confusion
-gn

Am 18.06.13 12:28, schrieb Gustaf Neumann:
> ...
> tcl/proxy.tcl
> ===================================================================================
> # Tiny Reverse Proxy
> #
> # - deliver from upstream http and https server (spooling of large content)
> # - delivery of local content (optionally compressed)
> # - obtain statistics via nsstats from the proxy server
> #
> #                                               -Gustaf Neumann (June 2013)
> #
> #
> # To get feedback from the proxy, we want to execute e.g. nsstats.tcl,
> # which is provided in the proxy-admin directory
> #
> ns_register_tcl GET /proxy-admin/*.tcl
>
> #
> # Deliver images from the local files
> #
> ns_register_filter preauth GET  /img/* proxy::local
>
> ns_register_filter preauth GET  * proxy::upstream -target 
> https://localhost:8443
> ns_register_filter preauth POST * proxy::upstream -target 
> https://localhost:8443 {-timeout 5:0}
>
> ...


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to