Ignore:
Timestamp:
Mar 10, 2018 4:56:59 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
39039b8
Parents:
fe808a8
Message:

i2ptunnel: Strip server Date header
More efficient header checks
Jetty config tweaks

Location:
installer/resources/eepsite
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • installer/resources/eepsite/contexts/base-context.xml

    rfe808a8 re7c2162  
    1515    <Arg>org.eclipse.jetty.servlet.Default.cacheControl</Arg>
    1616    <Arg>max-age=3600,public</Arg>
     17  </Call>
     18  <!-- change to true to allow directory listings -->
     19  <Call name="setInitParameter">
     20    <Arg>org.eclipse.jetty.servlet.Default.dirAllowed</Arg>
     21    <Arg>false</Arg>
    1722  </Call>
    1823  <Call name="setMimeTypes">
  • installer/resources/eepsite/jetty-ssl.xml

    rfe808a8 re7c2162  
    270270                    <New class="org.eclipse.jetty.server.HttpConfiguration">
    271271                      <Set name="sendServerVersion">false</Set>
    272                       <Set name="sendDateHeader">true</Set>
     272                      <Set name="sendDateHeader">false</Set>
     273                      <Set name="sendXPoweredBy">false</Set>
    273274                    </New>
    274275                  </Arg>
  • installer/resources/eepsite/jetty.xml

    rfe808a8 re7c2162  
    118118                      <New class="org.eclipse.jetty.server.HttpConfiguration">
    119119                        <Set name="sendServerVersion">false</Set>
    120                         <Set name="sendDateHeader">true</Set>
     120                        <Set name="sendDateHeader">false</Set>
     121                        <Set name="sendXPoweredBy">false</Set>
    121122                      </New>
    122123                    </Arg>
Note: See TracChangeset for help on using the changeset viewer.