擅长:python、mysql、java
<p>我一直在研究这个问题,并找到了解决办法。nginx.conf文件需要定义如下位置:</p>
<pre><code>location /myapp/ {
# Define the location of the proxy server to send the request to
proxy_pass http://localhost:8041/myapp/;
# standard proxy_set_header stuff below...
}
</code></pre>
<p>然后在Dash应用程序中,将url_base_路径名设置为相同的值:</p>
^{pr2}$