(vhost-rewrite-rules rewrite-rules & {:keys [use-proxy] :or {use-proxy true}})
Define the rewrite rules for a VirtualHost. Pass a vector of rewrite rules like this:
:rewrite-rules ["RewriteRule ^/$ http://test.com:8080 [P]" "RewriteRule ^/login$ http://test.com [P]"]
Define the rewrite rules for a VirtualHost. Pass a vector of rewrite rules like this: :rewrite-rules ["RewriteRule ^/$ http://test.com:8080 [P]" "RewriteRule ^/login$ http://test.com [P]"]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close