Am I missing something...please advise..Here is what my proxy.config file look like:
<?xml version="1.0" encoding="utf-8" ?>
<ProxyConfig allowedReferers="*"
mustMatch="true">
<serverUrls>
<serverUrl url="https://InternalServer/arcgis"
matchAll="true"/>
<serverUrl url="https://InternalServer/arcgis"
username="****"
password="****"
matchAll="true"/>
<serverUrl url="https://Externalserver/portal"
username="****"
password="****"
matchAll="true"/>
also here is what my config.json file for the web app looks like (after deploying to IIS):
Snippet
{"theme":{"name":"FoldableTheme","styles":["default","black","blue","cyan","green",
"purple","red","yellow"],"version":"1.4"},"portalUrl":"https://InternalServer/portal",
"appId":"xmbXBa0pB97rMQMM","authorizedCrossOriginDomains":[],"title":"test_5","subtitle":
"with Web AppBuilder for ArcGIS","logo":"images/app-logo.png","geometryService":
"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer","links":[],
"widgetOnScreen":{"widgets":[{"uri":"themes/FoldableTheme/widgets/HeaderController/Widget",
"position":{"left":0,"top":0,"right":0,"height":40,"relativeTo":"browser"},"version":"1.4","id":
"themes_FoldableTheme_widgets_HeaderController_Widget_1","name":"HeaderController","label":
"Header Controller"},{"uri":"widgets/Scalebar/Widget","position":{"left":25,"bottom":25,
"relativeTo":"map"},"version":"1.4","id":"widgets_Scalebar_Widget_2","name":"Scalebar",
"label":"Scalebar"},{"uri":"widgets/Search/Widget","position":{"left":55,"top":5,"relativeTo":"map"},
"version":"1.4","id":"widgets_Search_Widget_3","name":"Search","label":"Quick Ownername Search",
"config":"configs/Search/config_Quick Ownername Search.json"},{"uri":"widgets/Coordinate/Widget",
"position":{"left":200,"bottom":20,"relativeTo":"map"},"version":"1.4",
"id":"widgets_Coordinate_Widget_4","name":"Coordinate","label":"Coordinate"},
{"position":{"left":55,"top":45,"relativeTo":"map"},"placeholderIndex":1,"id":"_5","name":"Query",
"label":"Application Seach","version":"1.4","uri":"widgets/Query/Widget","config":
"configs/Query/config_Application Seach.json"},{"position":{"left":105,"top":45,"relativeTo":"map"},
"placeholderIndex":1,"id":"_6","name":"Query","label":"Parcel Search","version":"1.4","icon":
"configs\\Query\\icon_Parcel Search.jpeg","uri":"widgets/Query/Widget","config":
"configs/Query/config_Parcel Search.json"},{"position":{"left":155,"top":45,"relativeTo":"map"},
"placeholderIndex":1,"id":"_7"},{"position":{"left":205,"top":45,"relativeTo":"map"},
"placeholderIndex":2,"id":"_8"},{"position":{"left":255,"top":45,"relativeTo":"map"},
"placeholderIndex":3,"id":"_9"},{"uri":"widgets/OverviewMap/Widget","position":{"bottom":0,
"right":0,"zIndex":1,"relativeTo":"map"},"version":"1.4","id":"widgets_OverviewMap_Widget_10",
"name":"OverviewMap","label":"Overview Map"},{"uri":"widgets/HomeButton/Widget","position":
{"left":7,"top":75,"relativeTo":"map"},"version":"1.4","id":"widgets_HomeButton_Widget_11","name":
"HomeButton","label":"Home Button"},{"uri":"widgets/MyLocation/Widget","position":
{"left":7,"top":110,"relativeTo":"map"},"version":"1.4","id":"widgets_MyLocation_Widget_12","name":
"MyLocation","label":"My Location"},{"uri":"widgets/AttributeTable/Widget","position":{"relativeTo":
"browser"},"version":"1.4","id":"widgets_AttributeTable_Widget_13","name":"AttributeTable","label":
"Attribute Table"},{"uri":"widgets/Splash/Widget","visible":false,"position":{"relativeTo":"browser"},
"version":"1.4","id":"widgets_Splash_Widget_14","name":"Splash","label":"Splash"},
{"uri":"widgets/ZoomSlider/Widget","position":{"top":5,"left":7,"relativeTo":"map"},
"version":"1.4","id":"widgets_ZoomSlider_Widget_15","name":"ZoomSlider","label":"Zoom Slider"}],
"panel":{"uri":"jimu/OnScreenWidgetPanel","position":{"relativeTo":"map"}}},"map":
{"3D":false,"2D":true,"position":{"left":0,"top":40,"right":0,"bottom":0},"itemId":
"77cd07c973344571bfd1f2636f318088","mapOptions":{},"id":"map","portalUrl":
"https://InternalServer/portal"},"widgetPool":{"panel":{"uri":"themes/FoldableTheme/panels/
FoldablePanel/Panel","position":{"top":5,"right":5,"bottom":5,"zIndex":5,"relativeTo":"map"}},
"widgets":[{"uri":"widgets/Legend/Widget","version":"1.4","id":"widgets_Legend_Widget_16","name":
"Legend","label":"Legend","index":0},{"uri":"widgets/LayerList/Widget","version":"1.4","id":
"widgets_LayerList_Widget_17","name":"LayerList","label":"Layer List","index":1}]},"loadingPage"
:{"backgroundColor":"#508dca","backgroundImage":{"visible":false},"loadingGif":{"visible":true,
"uri":"configs/loading/images/predefined_loading_1.gif","width":58,"height":29}},"wabVersion":"1.4",
"isTemplateApp":false,"isWebTier":false,"httpProxy":{"useProxy":true,"alwaysUseProxy":false,"url":"",
"rules":["urlPrefix": "https://Externalserver/arcgis/rest/services/MAPS/Application_2017_test/
MapServer","https://Externalserver/arcgis/rest/services/MAPS/tortola_parcels/MapServer",
"https://Externalserver/arcgis/rest/services/MAPS/Tortola_Image_W_Lables_Planning_Authority_Final
/MapServer","proxyUrl": "https://Externalserver/DotNet/proxy.ashx"]}}
when I attempt to open this web app on the internet, I get "Unexpected token : in JSON at position 4249"
please advise..