forked from EsriCanada/municipal-government-services
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproxy.config
35 lines (35 loc) · 1.74 KB
/
proxy.config
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
<?xml version="1.0" encoding="utf-8"?>
<!--
| ArcGIS for Canadian Municipalities / ArcGIS pour les municipalités canadiennes
| My Municipal Government Services v10.2.0.1 / Mes services municipaux v10.2.0.1
| This file was modified by Esri Canada - Copyright 2013 Esri Canada
|
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
-->
<!-- Proxy config is used to set the ArcGIS Server services that the proxy will forward to.
mustMatch: true to only proxy to sites listed, false to proxy to any site -->
<ProxyConfig mustMatch="true">
<serverUrls>
<!-- serverUrl options:
url = location of the ArcGIS Server, either specific URL or stem
matchAll = true to forward any request beginning with the url
token = (optional) token to include for secured service
dynamicToken = if true, gets token dynamically with username and
password stored in web.config file's appSettings section.
-->
<serverUrl matchAll="true" url="http://172.31.12.22:6080/arcgis/"></serverUrl>
<serverUrl matchAll="true" url="http://www.arcgis.com/sharing/generateToken"></serverUrl>
<serverUrl matchAll="true" url="https://www.arcgis.com/sharing/generateToken"></serverUrl>
</serverUrls>
</ProxyConfig>