960 B
960 B
MINI-FLEES
A mini file sharing website.
installation
bash create_config.shdocker-compose up --build
configuration
- configure service with data/config.json
- Change your
app_secret_key!! - Change your
access_token!! - Change your
public_url - Change your
timezone uid= user id for new filesworkers= parallel processes (i.e. one upload reserves a process)timeout= timeout for processes, single upload might take a long time!
- Change your
- configure bind host and port in .env
- proxy with nginx, match bind port, body size and timeout to your needs:
location /flees/ {
proxy_pass http://localhost:8136/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Script-Name /flees;
client_max_body_size 8G;
client_body_timeout 3600s;
}