{"action":"closed","issue":{"url":"https://api.github.com/repos/Esri/resource-proxy/issues/331","labels_url":"https://api.github.com/repos/Esri/resource-proxy/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/Esri/resource-proxy/issues/331/comments","events_url":"https://api.github.com/repos/Esri/resource-proxy/issues/331/events","html_url":"https://github.com/Esri/resource-proxy/issues/331","id":125014249,"number":331,"title":"Multiple serverUrls for token/server based services in the same proxy.config?","user":{"login":"upcamogie","id":9007801,"avatar_url":"https://avatars.githubusercontent.com/u/9007801?v=3","gravatar_id":"","url":"https://api.github.com/users/upcamogie","html_url":"https://github.com/upcamogie","followers_url":"https://api.github.com/users/upcamogie/followers","following_url":"https://api.github.com/users/upcamogie/following{/other_user}","gists_url":"https://api.github.com/users/upcamogie/gists{/gist_id}","starred_url":"https://api.github.com/users/upcamogie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upcamogie/subscriptions","organizations_url":"https://api.github.com/users/upcamogie/orgs","repos_url":"https://api.github.com/users/upcamogie/repos","events_url":"https://api.github.com/users/upcamogie/events{/privacy}","received_events_url":"https://api.github.com/users/upcamogie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-05T17:35:01Z","updated_at":"2016-01-05T20:30:46Z","closed_at":"2016-01-05T20:30:46Z","body":"edited - I am using the DotNet proxy--\r\nI have 2 sets of server-side credentials I want to use for different apps. Ideally one proxy.config would have everything I need. However, my apps seem to only work when the serverUrl for that service is listed first in the proxy.config so it seems to ignore the 2nd rule for my http://myserver.org/rest/services.  Currently I have 2 proxies with the same rules-- the order is just reversed. the apps using those proxies only work if the web maps used have the content that is tied to the first ServerUrl rule listed in the proxy.config file. Both ServerUrls are at the root level since I want to be able to use those creds in different folders. Both are set to matchAll=\"true\" since that is the only way my proxy works anyway (despite my read of the documentation that seems to indicate otherwise to my novice brain).\r\n\r\nI did not see anything in the help/documentation noting this limitation. I have multiple proxy ServerUrl rules for other things, such as the Oauth for use with www.arcgis.com as well as with myorg.maps.arcgis.com (apparently it makes a difference per app template). I have enough issues with proxies alredy so knowing what is/not possible would really help. thanks"}}