-
Notifications
You must be signed in to change notification settings - Fork 5
/
server.xml
39 lines (32 loc) · 1.96 KB
/
server.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<server description="new server">
<!-- Enable features -->
<featureManager>
<feature>jsp-2.3</feature>
<feature>beanValidation-2.0</feature>
<feature>transportSecurity-1.0</feature>
<!-- Additional features -->
<feature>jaxrs-2.1</feature>
<feature>cdi-2.0</feature>
<feature>jsonb-1.0</feature>
<feature>beanValidation-2.0</feature>
<feature>el-3.0</feature>
</featureManager>
<!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" -->
<httpEndpoint id="defaultHttpEndpoint"
httpPort="9080"
httpsPort="9443" />
<!-- Automatically expand WAR files and EAR files -->
<applicationManager autoExpand="true"/>
<!-- Default SSL configuration enables trust for default certificates from the Java runtime -->
<ssl id="defaultSSLConfig" trustDefaultCerts="true" />
<webApplication contextRoot="/" id="start" location="openliberty-starter-1.0-SNAPSHOT.war"/>
<cors
domain="/api/start"
allowedOrigins="https://www.openliberty.io,https://openliberty.io,https://draft-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud,https://staging-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud,https://ui-draft-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud,https://ui-staging-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud,https://demo1-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud,https://demo2-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud,https://us-south.openliberty.io,https://us-east.openliberty.io,https://eu-gb.openliberty.io,https://eu-de.openliberty.io,https://au-syd.openliberty.io"
allowedHeaders="Accept, Accept-Encoding, Content-Type, X-Requested-With"
allowedMethods="GET,POST"
exposeHeaders=""
allowCredentials="true"
maxAge="3600"/>
</server>