nginx - uploadify 403 appears when uploading avatar
某草草
某草草 2017-05-16 17:19:15
0
1
601

I use nginx to proxy static resources, so uploadify’s js swf file is also proxy to nginx. At this time, when I uploaded the avatar, I found that 403 appeared. But if uploadify is not proxied through nginx, there will be no problem. How can I solve it?
My nginx static resource proxy is configured like this: relatively simple
location ~ /assets {

root /usr/local;

}
assets is my static resource directory, which is under /usr/local, and uploadify is under assets. My dynamic program is in tomcat.

某草草
某草草

reply all(1)
PHPzhong

Let’s take a look at the packet capture and analysis. In this case, the host and URL submitted are usually wrong

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!