<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: NGINX - CSP ArcGIS Web Maps in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/nginx-csp-arcgis-web-maps/m-p/1134247#M75937</link>
    <description>&lt;P&gt;Best practice for CSP is generally as locked down as possible. I haven't used CSP with Nginx, however, so no ideas about that sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A CSP I have used in the past (a few API versions ago, however, may need some update):&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"default-src&amp;nbsp;'self'; &lt;/SPAN&gt;&lt;SPAN&gt;script-src&amp;nbsp;'self'&amp;nbsp;&lt;A href="https://js.arcgis.com&amp;nbsp;'unsafe-eval" target="_blank" rel="noopener"&gt;https://js.arcgis.com&amp;nbsp;'unsafe-eval&lt;/A&gt;'; style-src&amp;nbsp;'self'&amp;nbsp;&lt;A href="https://js.arcgis.com&amp;nbsp;'unsafe-inline" target="_blank" rel="noopener"&gt;https://js.arcgis.com&amp;nbsp;'unsafe-inline&lt;/A&gt;'; &lt;/SPAN&gt;&lt;SPAN&gt;font-src&amp;nbsp;&lt;A href="https://js.arcgis.com;" target="_blank" rel="noopener"&gt;https://js.arcgis.com;&lt;/A&gt; worker-src&amp;nbsp;blob:; connect-src&amp;nbsp;https://*.arcgis.com;&lt;/SPAN&gt; &lt;SPAN&gt;img-src&amp;nbsp;data:&amp;nbsp;https://*.arcgis.com"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 16 Jan 2022 20:27:57 GMT</pubDate>
    <dc:creator>Stacy-Rendall</dc:creator>
    <dc:date>2022-01-16T20:27:57Z</dc:date>
    <item>
      <title>NGINX - CSP ArcGIS Web Maps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/nginx-csp-arcgis-web-maps/m-p/1132595#M75871</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;We have been working on implementing the ArcGIS web maps on our site.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any recommendations for best practices with Nginx / Content-Security Policy when working with User Defined Maps that have custom domains? Specifically, when there are so many you can't enable all of them in CSP.&lt;BR /&gt;&lt;BR /&gt;Is the best practice to set a wildcard in nginx? Looking for additional options regarding CSP and handling custom domains for user maps that are outside of the defined CSP.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 20:42:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/nginx-csp-arcgis-web-maps/m-p/1132595#M75871</guid>
      <dc:creator>joeTC</dc:creator>
      <dc:date>2022-01-11T20:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: NGINX - CSP ArcGIS Web Maps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/nginx-csp-arcgis-web-maps/m-p/1134247#M75937</link>
      <description>&lt;P&gt;Best practice for CSP is generally as locked down as possible. I haven't used CSP with Nginx, however, so no ideas about that sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A CSP I have used in the past (a few API versions ago, however, may need some update):&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"default-src&amp;nbsp;'self'; &lt;/SPAN&gt;&lt;SPAN&gt;script-src&amp;nbsp;'self'&amp;nbsp;&lt;A href="https://js.arcgis.com&amp;nbsp;'unsafe-eval" target="_blank" rel="noopener"&gt;https://js.arcgis.com&amp;nbsp;'unsafe-eval&lt;/A&gt;'; style-src&amp;nbsp;'self'&amp;nbsp;&lt;A href="https://js.arcgis.com&amp;nbsp;'unsafe-inline" target="_blank" rel="noopener"&gt;https://js.arcgis.com&amp;nbsp;'unsafe-inline&lt;/A&gt;'; &lt;/SPAN&gt;&lt;SPAN&gt;font-src&amp;nbsp;&lt;A href="https://js.arcgis.com;" target="_blank" rel="noopener"&gt;https://js.arcgis.com;&lt;/A&gt; worker-src&amp;nbsp;blob:; connect-src&amp;nbsp;https://*.arcgis.com;&lt;/SPAN&gt; &lt;SPAN&gt;img-src&amp;nbsp;data:&amp;nbsp;https://*.arcgis.com"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 16 Jan 2022 20:27:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/nginx-csp-arcgis-web-maps/m-p/1134247#M75937</guid>
      <dc:creator>Stacy-Rendall</dc:creator>
      <dc:date>2022-01-16T20:27:57Z</dc:date>
    </item>
  </channel>
</rss>

