25 lines
721 B
Markdown
25 lines
721 B
Markdown
# FLEES
|
|
|
|
a very small file sharing website
|
|
|
|
- configure with data/shares.json
|
|
- configure with data/config.json
|
|
- uid = user id for new files
|
|
- workers = parallel processes (i.e. one upload reserves a process)
|
|
- timeout = timeout for processes, single upload might take a long time!
|
|
- generate shares with utils/create-share.py
|
|
- proxy with nginx:
|
|
```
|
|
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;
|
|
}
|
|
```
|
|
|
|
- configure local port in `docker-compose.yaml`
|
|
|