<?xml version="1.0"?>
<metaproxy xmlns="http://indexdata.com/metaproxy" version="1.0">
  <start route="start"/>
  <!-- sample config which illustrates the use of http_file filter.. -->
  <routes>
    <route id="start">
      <filter type="frontend_net">
        <threads>10</threads>
        <port>@:9000</port>
        <port cert_fname="ztest.pem">ssl:@:9001</port>
      </filter>
      <filter type="log">
        <message>M</message>
      </filter>
      <filter type="http_file">
        <mimetypes>/etc/mime.types</mimetypes>
        <area>
          <documentroot>.</documentroot>
          <prefix>/etc</prefix>
        </area>
        <area>
          <documentroot>.</documentroot>
          <prefix>/raw</prefix>
          <raw>true</raw>
        </area>
      </filter>
      <filter type="http_rewrite1">
        <replace content-type="text/html" pattern="YAZ" replacement="yaz"/>
      </filter>
      <filter type="http_client">
        <default-host>http://localhost:9999</default-host>
        <x-forwarded-for>true</x-forwarded-for>
      </filter>
      <filter type="bounce"/>
    </route>
  </routes>
</metaproxy>
