nginx uploads files without using background code
淡淡烟草味
淡淡烟草味 2017-05-16 17:29:46
0
2
539

Just transfer the file to the specified directory without using PHP Python and other background processing

  Test upload 

Select files to upload







Just use this to upload a simple page, and then nginx can directly specify a path to save it without any background processing.

淡淡烟草味
淡淡烟草味

reply all (2)
小葫芦

nginx itself should not support it, and nginx does not natively support cgi, so it seems that you either have to write an nginx plug-in to do this, or you should use fastcgi. Here is a simple guide to configure nginx to "support cgi": http://wiki.nginx.org/SimpleCGI

    Ty80

    I don’t think so, because you have to complete the file stream transmission. How do you implement this as a single HTML?

      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!