<?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 How to use the nginx to browse the sare url in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-the-nginx-to-browse-the-sare-url/m-p/774551#M33854</link>
    <description>&lt;P&gt;下面是dropbox的分享URL，直接访问是可以的&lt;/P&gt;
&lt;P&gt;browse the dropbox share url indirect is okay:&lt;BR /&gt;&lt;A href="https://dl.dropboxusercontent.com/scl/fi/e6mzswmo6nb1al3xo2q6h/20240531154801_MACID_42957_.png?rlkey=ov72d1b180j14ko6q8gammlet&amp;amp;dl=0" target="_blank" rel="noopener"&gt;https://dl.dropboxusercontent.com/scl/fi/e6mzswmo6nb1al3xo2q6h/20240531154801_MACID_42957_.png?rlkey=ov72d1b180j14ko6q8gammlet&amp;amp;dl=0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;但通过我们自己服务器的NGINX代理访问，却只能访问到dropbox的404错误页，访问不到真实的分享文件&lt;/P&gt;
&lt;P&gt;but browse the share url through my nginx server is 404 error,just like follow picture show,I don't know whereis error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20240531222600.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/46551iEF7016EC0EFA5617/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20240531222600.png" alt="微信图片_20240531222600.png" /&gt;&lt;/span&gt;&lt;BR /&gt;下面是通过访问我们自己服务器的代码来访问dropbox的url:&lt;/P&gt;
&lt;P&gt;this is my URL&amp;nbsp; &amp;nbsp;through&amp;nbsp; my nginx server to request:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.smartwarrior.com.au/api/dropbox/api/scl/fi/e6mzswmo6nb1al3xo2q6h/20240531154801_MACID_42957_.png?rlkey=ov72d1b180j14ko6q8gammlet&amp;amp;dl=0" target="_blank" rel="noopener"&gt;https://www.smartwarrior.com.au/api/dropbox/api/scl/fi/e6mzswmo6nb1al3xo2q6h/20240531154801_MACID_42957_.png?rlkey=ov72d1b180j14ko6q8gammlet&amp;amp;dl=0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;我们的nginx设置如下：&lt;/P&gt;
&lt;P&gt;my nginx server seting like this:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;location /api/dropbox/api/{&lt;/P&gt;
&lt;P&gt;client_max_body_size 100M;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add_header Access-Control-Allow-Origin *;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proxy_pass &lt;A href="https://dl.dropboxusercontent.com/" target="_blank" rel="noopener"&gt;https://dl.dropboxusercontent.com/&lt;/A&gt;;&lt;BR /&gt;proxy_set_header Host $host;&lt;BR /&gt;proxy_set_header X-Forwarded-For $remote_addr;&lt;BR /&gt;proxy_set_header X-Forwarded-Host $server_name;&lt;BR /&gt;proxy_set_header X-Real-IP $remote_addr;&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2024 06:54:03 GMT</pubDate>
    <dc:creator>ELEWYG</dc:creator>
    <dc:date>2024-06-03T06:54:03Z</dc:date>
    <item>
      <title>How to use the nginx to browse the sare url</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-the-nginx-to-browse-the-sare-url/m-p/774551#M33854</link>
      <description>&lt;P&gt;下面是dropbox的分享URL，直接访问是可以的&lt;/P&gt;
&lt;P&gt;browse the dropbox share url indirect is okay:&lt;BR /&gt;&lt;A href="https://dl.dropboxusercontent.com/scl/fi/e6mzswmo6nb1al3xo2q6h/20240531154801_MACID_42957_.png?rlkey=ov72d1b180j14ko6q8gammlet&amp;amp;dl=0" target="_blank" rel="noopener"&gt;https://dl.dropboxusercontent.com/scl/fi/e6mzswmo6nb1al3xo2q6h/20240531154801_MACID_42957_.png?rlkey=ov72d1b180j14ko6q8gammlet&amp;amp;dl=0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;但通过我们自己服务器的NGINX代理访问，却只能访问到dropbox的404错误页，访问不到真实的分享文件&lt;/P&gt;
&lt;P&gt;but browse the share url through my nginx server is 404 error,just like follow picture show,I don't know whereis error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20240531222600.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/46551iEF7016EC0EFA5617/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20240531222600.png" alt="微信图片_20240531222600.png" /&gt;&lt;/span&gt;&lt;BR /&gt;下面是通过访问我们自己服务器的代码来访问dropbox的url:&lt;/P&gt;
&lt;P&gt;this is my URL&amp;nbsp; &amp;nbsp;through&amp;nbsp; my nginx server to request:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.smartwarrior.com.au/api/dropbox/api/scl/fi/e6mzswmo6nb1al3xo2q6h/20240531154801_MACID_42957_.png?rlkey=ov72d1b180j14ko6q8gammlet&amp;amp;dl=0" target="_blank" rel="noopener"&gt;https://www.smartwarrior.com.au/api/dropbox/api/scl/fi/e6mzswmo6nb1al3xo2q6h/20240531154801_MACID_42957_.png?rlkey=ov72d1b180j14ko6q8gammlet&amp;amp;dl=0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;我们的nginx设置如下：&lt;/P&gt;
&lt;P&gt;my nginx server seting like this:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;location /api/dropbox/api/{&lt;/P&gt;
&lt;P&gt;client_max_body_size 100M;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add_header Access-Control-Allow-Origin *;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proxy_pass &lt;A href="https://dl.dropboxusercontent.com/" target="_blank" rel="noopener"&gt;https://dl.dropboxusercontent.com/&lt;/A&gt;;&lt;BR /&gt;proxy_set_header Host $host;&lt;BR /&gt;proxy_set_header X-Forwarded-For $remote_addr;&lt;BR /&gt;proxy_set_header X-Forwarded-Host $server_name;&lt;BR /&gt;proxy_set_header X-Real-IP $remote_addr;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 06:54:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-the-nginx-to-browse-the-sare-url/m-p/774551#M33854</guid>
      <dc:creator>ELEWYG</dc:creator>
      <dc:date>2024-06-03T06:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the nginx to browse the sare url</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-the-nginx-to-browse-the-sare-url/m-p/774616#M33856</link>
      <description>&lt;P&gt;It looks like you're not using the Dropbox API, but are trying to configure nginx. As nginx isn't made by Dropbox, we can't provide support for that. You may need to refer to the support resources for nginx for information on how to configure it.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 20:20:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-the-nginx-to-browse-the-sare-url/m-p/774616#M33856</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-31T20:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the nginx to browse the sare url</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-the-nginx-to-browse-the-sare-url/m-p/774631#M33857</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1843086"&gt;@ELEWYG&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;BR /&gt;proxy_set_header Host $host;&lt;BR /&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1843086"&gt;@ELEWYG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm a bit confused about the cited configuration line. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; Why is it there and what is it supposed to do? 🤷 Did you try the same (resulted) request in your browser (the same request your server send to Dropbox) or in some other way? 🧐 Try catch the request (dump it somehow) and see what's there. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Good luck and hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 21:19:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-use-the-nginx-to-browse-the-sare-url/m-p/774631#M33857</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-05-31T21:19:43Z</dc:date>
    </item>
  </channel>
</rss>

