appengine-web.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
  3. <threadsafe>true</threadsafe>
  4. <sessions-enabled>false</sessions-enabled>
  5. <runtime>java8</runtime>
  6. <!-- Configure java.util.logging -->
  7. <system-properties>
  8. <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
  9. </system-properties>
  10. <!-- Path patterns not supported in production -->
  11. <static-files>
  12. <include path="/**">
  13. <http-header name="Referrer-Policy" value="strict-origin"/>
  14. <http-header name="Access-Control-Allow-Origin" value="*"/>
  15. <http-header name="X-XSS-Protection" value="1; mode=block"/>
  16. <http-header name="X-Content-Type-Options" value="nosniff"/>
  17. </include>
  18. </static-files>
  19. <!-- App engine has conflicting interfaces for javax.cache.CacheManager -->
  20. <class-loader-config>
  21. <priority-specifier filename="cache-api-1.1.1.jar"/>
  22. </class-loader-config>
  23. <instance-class>F1</instance-class>
  24. <automatic-scaling>
  25. <max-idle-instances>1</max-idle-instances>
  26. </automatic-scaling>
  27. </appengine-web-app>