Mastering Nginx

(Ron) #1
Appendix A

[ 263 ]

Directive Explanation Context/Default


xslt_param Parameters passed to the


stylesheets, whose values are
XPath expressions.

Valid contexts: http,
server, location
Default value: -

xslt_string_param Parameters passed to the
stylesheets, whose values are
strings.


Valid contexts: http,
server, location
Default value: -

xslt_stylesheet The path to an XSLT stylesheet
used to transform an XML
response. Parameters may be
passed as a series of key/value
pairs.


Valid context:
location
Default value: -

xslt_types Lists the MIME types of a response
in addition to text/xml, in which
a substitution will be made. It may
be * to enable all MIME types. If
the transformation results in an
HTML response, the MIME type
will be changed to text/html.


Valid contexts: http,
server, location
Default value: text/
xml
Free download pdf