Commit Graph

235 Commits

Author SHA1 Message Date
Karol Wypchlo 33eeb61484 fix proxy_pass for upload not passing query params 2020-05-08 09:49:37 +02:00
Karol Wypchlo 3323ba282a comment adjustment 2020-05-04 17:35:41 +02:00
Karol Wypchlo d875ae2367 uploaded files are stored in random nested directories 2020-05-04 17:35:41 +02:00
Karol Wypchło bb0021de3e fix(typo): skunet => skynet 2020-04-29 18:44:27 +02:00
Karol Wypchlo 0925944e86 fix whitespace encoding for directories 2020-04-29 18:44:27 +02:00
Karol Wypchlo 01bb55507f add /tmp directory cleanup to run every day 2020-04-23 20:02:35 +02:00
Karol Wypchlo bba571c4e3 add frequent downloads cache to improve server responding on popular files 2020-04-23 20:02:02 +02:00
Marcin Jachymiak 0ee522cdcb Clean up message and increase threshold in funds-checker.py 2020-04-14 18:22:37 -04:00
Marcin Jachymiak 2715ab1e9d
Merge pull request #157 from NebulousLabs/update-bots
Update bots
2020-04-14 15:32:52 -04:00
Marcin Jachymiak 06b25382ff Mention role in discord, rather than online users 2020-04-14 14:50:25 -04:00
Marcin Jachymiak 02250ce385 Reduce allowance spending threshold. 2020-04-14 14:50:01 -04:00
David e33ce33651
Changed nginx config to generate random file uuid by default (#149)
* Changed nginx config to generate random file uuid by default

* Added nginx version note to setup readme
2020-04-14 16:06:02 +02:00
Karol Wypchło 250bbdf9d8
include basic ddos protection (#148)
* include basic ddos protection

* more verbose zone names

* set limit http status code to 429
2020-04-07 13:01:38 +02:00
Marcin Jachymiak 321bbd4d0f Fix log checker false positives 2020-03-26 11:12:07 -04:00
Marcin Jachymiak c0e148908e
Merge pull request #124 from NebulousLabs/check-logs-for-panic
Check logs for panics
2020-03-24 13:29:57 -04:00
Karol Wypchło 46400ff39f
Setup scripts improvements (#123)
* fix /Users/karol issue with go path
* do not emit error if /etc/nginx/sites-enabled/default is not found
2020-03-24 15:42:03 +01:00
Marcin Jachymiak a90dc717c6 Check logs for panics 2020-03-24 10:23:09 -04:00
Karol Wypchło fa052550cc
update scripts to support Sia v1.4.4 (#98)
* update scripts to support Sia v1.4.4
* force overwrite symlink
2020-03-20 22:11:20 +01:00
Peter-Jan Brone cd619d7a92
Update Nginx config to use double siad setup (#97)
* Update nginx conf to use double siad setup
* Update documentation
2020-03-19 15:38:34 +01:00
Marcin Jachymiak f7bb6f1493 Add stats endpoints to nginx 2020-03-18 16:36:30 -04:00
Marcin Jachymiak 16fe7acad0 Set siamux port to avoid conflicts 2020-03-18 16:35:48 -04:00
Marcin Jachymiak ccddff4b6a Use journald with persistence 2020-03-13 12:34:42 -04:00
Karol Wypchlo 4e5aca4998 set logs on siad services 2020-03-12 15:24:58 +01:00
Peter-Jan Brone bde39400ae
Expose Skynet-File-Metadata (#86) 2020-03-12 15:15:48 +01:00
Marcin Jachymiak d7ab15a885 Leave TODO about flags 2020-03-10 11:26:02 -04:00
Marcin Jachymiak e7e73977bd Switch log-checks to every 8 hours 2020-03-10 11:25:28 -04:00
Marcin Jachymiak f205f46928 Add hour param to log checker 2020-03-10 11:08:54 -04:00
Peter-Jan Brone 96034cf10d
Directory Upload & Auto UUID (#60) 2020-03-10 14:36:21 +01:00
Karol Wypchło f4760e4481
upload progress status (#73)
* add upload progress status

* resolve cors issues with proxy returning cors error
2020-03-10 14:15:34 +01:00
Marcin Jachymiak bc3e72726e Set force_notify in log check error cases 2020-03-09 16:06:15 -04:00
Marcin Jachymiak 1349440251 Update README and health check setup-scripts 2020-03-09 16:02:16 -04:00
Marcin Jachymiak 285d915602 Rename health-checker to funds-checker 2020-03-09 15:59:21 -04:00
Marcin Jachymiak 6d8fe9ca02 Add log checker 2020-03-09 15:55:03 -04:00
Marcin Jachymiak 4b1ac49ef1 Refactor bot_utils out of health-checker 2020-03-09 12:15:13 -04:00
Peter-Jan Brone 92f07b0dba
Merge pull request #72 from NebulousLabs/large-headers-nginx-issue
add config to get around large headers issue
2020-03-09 12:31:06 +01:00
Karol Wypchlo 66cd736dee add config to get around large headers issue 2020-03-09 12:21:00 +01:00
Marcin Jachymiak 5c87cb93dd Add override to load_dotenv call 2020-03-06 14:10:51 -05:00
Marcin Jachymiak 66218fde30 Check allocation not spent. Cleanup msg format 2020-03-06 10:11:42 -05:00
Marcin Jachymiak b067da67ac fixup... 2020-03-05 12:17:25 -05:00
Marcin Jachymiak 2ba2ac4b9f Fixup 2020-03-05 12:10:35 -05:00
Marcin Jachymiak 3244c1cd89 make script executable 2020-03-05 12:09:30 -05:00
Marcin Jachymiak 29a73e5963 Add health-check setup script 2020-03-05 12:07:37 -05:00
Marcin Jachymiak 2af43ed499 fix api pass env 2020-03-05 10:09:48 -05:00
Marcin Jachymiak d9b27d416c Cleanup Discord msgs and add password var 2020-03-05 10:09:48 -05:00
Marcin Jachymiak 64681bf19d Fixup port env var 2020-03-05 10:09:48 -05:00
Marcin Jachymiak cbe73e14c7 Cleanup health check script 2020-03-05 10:09:48 -05:00
Marcin Jachymiak 6fbf60d84c Start health check script 2020-03-05 10:09:48 -05:00
Karol Wypchlo 44fbe60eff add cypress testing suite 2020-03-05 12:04:54 +01:00
Karol Wypchlo eb0ef30615 add stats-logger.sh script 2020-03-04 18:12:59 +01:00
Marcin Jachymiak 5b390cda9d Update README with notes on running 2 siad nodes 2020-03-03 10:24:51 -05:00
Marcin Jachymiak ac9dfc5d9c Add upload systemd service 2020-03-02 18:10:27 -05:00
Marcin Jachymiak 32727c07ea Add upload env stuff to scripts 2020-03-02 18:05:45 -05:00
Karol Wypchlo e80ccb0bd5 fix prettier style issue 2020-02-28 12:35:06 +01:00
Marcin Jachymiak 9d6748409c
Merge pull request #45 from marcinja/2020-02-add-systemd-service
Add systemd service
2020-02-26 14:39:57 -05:00
Karol Wypchlo b6d6b655c3 remove redundant Authorization header from GET endpoints 2020-02-26 19:32:08 +01:00
Marcin Jachymiak bbdb363660 Use an environment variable file 2020-02-26 11:45:50 -05:00
Marcin Jachymiak c9d1bbddc8 Update setup README with systemctl commands 2020-02-25 12:56:19 -05:00
Marcin Jachymiak 1e72f2ade0 Add systemd service conf. Update setup script 2020-02-25 12:52:04 -05:00
Karol Wypchło ee86da1b39
move webpage to Gatsby (#32)
* migrate to gatsby in subfolder
* move gatsby to main package
* use targeted light syntax highlighter
* clean up gatsby leftovers
2020-02-20 17:35:07 +01:00
Karol Wypchlo a86aeadc5c rename footer column and fix readme 2020-02-18 18:42:51 +01:00
Karol Wypchlo 9bd9a0b95a skip nodejs server 2020-02-18 17:47:19 +01:00
Karol Wypchlo 8f28fd6dc6 fix readme 2020-02-18 17:05:44 +01:00
Karol Wypchlo 8e5f65e099 fix readme 2020-02-18 17:05:20 +01:00
Karol Wypchlo ef154b2793 fix readme 2020-02-18 17:04:57 +01:00
Karol Wypchło b7f5528506
add logo, fix, nginx config and validate input error (#29)
add logo, fix, nginx config and validate input error
2020-02-18 16:50:09 +01:00
Karol Wypchlo 23a96eb2bf update to newest config version 2020-02-18 11:39:36 +01:00
PJ 7b2c61ae67 Add skyfile POST route to nginx + update skylink regex 2020-02-18 11:38:45 +01:00
PJ 99a77c4b7f Update nginx.conf - remove strreplace of sia:// prefix 2020-02-18 11:38:45 +01:00
rontus a77ed447ce
Fix a missing ; at end of line 11
./setup.sh runs into a nginx error if that line does not end in ";"
2020-02-18 03:48:24 -05:00
Karol Wypchlo 235159fa0e rewrite nginx configuration for website 2020-02-13 10:25:14 -05:00
Marcin Jachymiak 648a601ff4 Add more letsencrypt notes 2020-02-06 12:08:05 -05:00
Marcin Jachymiak f95bc38a05 Add reminder to reload nginx 2020-02-06 12:03:12 -05:00
Marcin Jachymiak cb6aa7b2dc Update allowance flag. Remove viewnode refs 2020-02-06 11:43:20 -05:00
Marcin Jachymiak 2d5428b9ba Update location blocks on nginx 2020-02-04 13:57:59 -05:00
PJ c370c87496 Update .gitignore + update nginx config 2020-02-04 19:26:48 +01:00
Marcin Jachymiak 4ce9ed9b0f Update viewnode setup command 2020-02-03 17:31:15 -05:00
Marcin Jachymiak 08ce6fab32 Update setup guide 2020-01-31 16:58:30 -05:00
Marcin Jachymiak f3025bde96 Clean up README. Append to keys file
Append to keys file, in case someone forgets to add a key to the file.
This way they won't nuke the file by running the script and lose access
to the server.
2020-01-31 14:16:11 -05:00
Marcin Jachymiak bfddc3449e Update READMEs 2020-01-31 14:10:21 -05:00
Marcin Jachymiak f8a92323ee Remove authorized keys 2020-01-31 14:06:52 -05:00
Marcin Jachymiak 043dc48ca4 Add domain name param to LE script 2020-01-31 14:06:43 -05:00
Marcin Jachymiak 2d9e26d67b Add PJ ssh key 2020-01-31 13:32:40 -05:00
Marcin Jachymiak 05adfa3085 Update nginx config 2020-01-31 13:30:36 -05:00
Marcin Jachymiak d24f3bd554 Add copy-paste to tmux 2020-01-30 17:19:38 -05:00
Marcin Jachymiak 66d5b2d478 Move setup scripts in dir 2020-01-30 13:42:24 -05:00