Rule Examples
path('/healthcheck') -> rewrite('/healthcheck.cfm')path(/healthcheck) -> done
path(/healthcheck) -> response-code(503) // This rule is skippedmethod(GET) -> set(attribute='%{o,type}', value=get)regex('(.*).css') -> { rewrite('${1}.xcss'); set(attribute='%{o,rewritten}', value=true) } regex('(.*).jpg$') -> redirect('${1}.png')set(attribute='%{i,someHeader}', value=someValue)regex('.*/index\..*') or path-suffix('/') -> set(attribute='%{o,Cache-Control}', value='no-cache')path('/freshcontent.html') -> set(attribute='%{o,Cache-Control}', value='no-cache')Last updated
Was this helpful?