server_config.ini.example 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [DEFAULT]
  2. # the interface to bind to(0.0.0.0 means all)
  3. host = 127.0.0.1
  4. # the port to listen on
  5. port = 8080
  6. # maximum file size which admin can upload(use prefixes K,M,G,T)
  7. upload_max = 64G
  8. # If you specify this, it will bind to a UNIX socket rather than
  9. # a TCP/IP one. host and port are ignored.
  10. # uncoment if you use a unix socket file
  11. # unix_socket_file = /home/farooqkz/.nginx.sock
  12. # This is where PotatoEgg stores your files and their metadata
  13. base_dir = /tmp/
  14. # Username of admin up to 16 characters
  15. admin_username = admin
  16. # SHA512 hash of admin's password, hexdigest. The password itself may be
  17. # up to 256 character. The app won't bother computing SHA512 hashsum
  18. # of longer passwords. >>> Even if you specify longer than that here <<<
  19. admin_pass = c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec
  20. # Are you debugging the application or it's in production?
  21. debug = yes
  22. # Are you going to use a secure connection?
  23. secure = no
  24. # Path to a LMDB database. A new one will be created if it is not already
  25. # there. This DB is used to store metadata of files(currently only
  26. # password and description)
  27. # Defaults to $base_dir/.db
  28. db_path = /tmp/.db