http.conf 858 B

1234567891011121314151617181920212223242526
  1. # HTTP default content type
  2. http.default_content_type = application/octet-stream
  3. # MIME types mapping filename
  4. # MIME types file format: MIME_type extensions
  5. # such as: image/jpeg jpeg jpg jpe
  6. # you can use apache's MIME file: mime.types
  7. http.mime_types_filename=mime.types
  8. # if use token to anti-steal
  9. # default value is false (0)
  10. http.anti_steal.check_token=false
  11. # token TTL (time to live), seconds
  12. # default value is 600
  13. http.anti_steal.token_ttl=900
  14. # secret key to generate anti-steal token
  15. # this parameter must be set when http.anti_steal.check_token set to true
  16. # the length of the secret key should not exceed 128 bytes
  17. http.anti_steal.secret_key=FastDFS1234567890
  18. # return the content of the file when check token fail
  19. # default value is empty (no file sepecified)
  20. http.anti_steal.token_check_fail=/home/yuqing/fastdfs/conf/anti-steal.jpg