The proxy-retrieve function retrieves a document from a remote server and returns it to the client. It manages caching if it is enabled. The proxy-retrieve function also enables to you configure the proxy to allow or block arbitrary methods.
Service fn=proxy-retrieve method=GET|HEAD|POST|INDEX|CONNECT... allow|block=<List-of-comma-separated-methods>
method lets you specify a retrieval method.
allow configures the proxy to allow specified arbitrary methods.
block configures the proxy to block specified arbitrary methods.
allow takes precedence over block.
# Normal proxy retrieve Service fn=proxy-retrieve # Proxy retrieve with POST method disabled Service fn=proxy-retrieve method=(POST) # Proxy retrieve allows methods FOO and BAR to pass through Service fn=proxy-retrieve allow="FOO,BAR" # Proxy retrieve blocks methods MKCOL,DELETE,LOCK,UNLOCK Service fn=proxy-retrieve block="MKCOL,DELETE,LOCK,UNLOCK" |