修改nginx.conf

  1. worker_processes 1;
  2. events {
  3. worker_connections 1024;
  4. }
  5. http {
  6. include mime.types;
  7. default_type application/octet-stream;
  8. server {
  9. listen 80;
  10. server_name localhost;
  11. location / {
  12. autoindex on;
  13. default_type text/plain;
  14. root E:\myftp;
  15. }
  16. }
  17. }