Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | <web-app xmlns="http://java.sun.com/xml/ns/javaee" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" |
| 5 | version="3.0"> |
| 6 | |
| 7 | <display-name>ASDC</display-name> |
| 8 | |
| 9 | <welcome-file-list> |
| 10 | <welcome-file>index.html</welcome-file> |
| 11 | </welcome-file-list> |
| 12 | |
| 13 | <servlet> |
| 14 | <servlet-name>js</servlet-name> |
| 15 | <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class> |
| 16 | |
| 17 | <init-param> |
| 18 | <param-name>cacheControl</param-name> |
| 19 | <param-value>public, no-cache</param-value> |
| 20 | </init-param> |
| 21 | <init-param> |
| 22 | <param-name>etags</param-name> |
| 23 | <param-value>true</param-value> |
| 24 | </init-param> |
| 25 | </servlet> |
| 26 | |
| 27 | <servlet-mapping> |
| 28 | <servlet-name>js</servlet-name> |
| 29 | <url-pattern>*.js</url-pattern> |
| 30 | </servlet-mapping> |
| 31 | |
| 32 | <servlet> |
| 33 | <servlet-name>resources</servlet-name> |
| 34 | <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class> |
| 35 | |
| 36 | <init-param> |
| 37 | <param-name>cacheControl</param-name> |
| 38 | <param-value>public, max-age=31536000</param-value> |
| 39 | </init-param> |
| 40 | <init-param> |
| 41 | <param-name>etags</param-name> |
| 42 | <param-value>true</param-value> |
| 43 | </init-param> |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 44 | <init-param> |
| 45 | <param-name>redirects-list</param-name> |
| 46 | <param-value> |
| 47 | /v1.0/healthcheck |
| 48 | </param-value> |
| 49 | </init-param> |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 50 | </servlet> |
| 51 | |
| 52 | <servlet-mapping> |
| 53 | <servlet-name>resources</servlet-name> |
| 54 | <url-pattern>/</url-pattern> |
| 55 | </servlet-mapping> |
| 56 | |
| 57 | </web-app> |