Heim  >  Fragen und Antworten  >  Hauptteil

nginx – uploadify 403 erscheint beim Hochladen eines Avatars

Ich verwende Nginx als Proxy für statische Ressourcen, daher ist die JS-SWF-Datei von Uploadify auch ein Proxy für Nginx. Als ich den Avatar hochlud, stellte ich fest, dass 403 angezeigt wurde. Wenn Uploadify jedoch nicht über Nginx weitergeleitet wird, gibt es kein Problem. Wie kann ich das Problem lösen?
Mein statischer Nginx-Ressourcen-Proxy ist wie folgt konfiguriert: relativ einfach
Standort ~ /assets {

root /usr/local;

}
assets ist mein statisches Ressourcenverzeichnis, das sich unter /usr/local befindet, und „uploadify“ befindet sich unter „assets“. Mein dynamisches Programm ist in Tomcat.

某草草某草草2713 Tage vor576

Antworte allen(1)Ich werde antworten

  • PHPz

    PHPz2017-05-16 17:21:15

    抓包分析看看吧,这种情况一般是提交的host、url错了

    Antwort
    0
  • StornierenAntwort