The new and improwed version of upfast, now writen in GO!
This one is gonna be a lot easier to deploy since all you need to do is download the upfast binary and run it in a directory.
To change the port or the ip adress to listen for you can use `-p` and `-a` options respectivelly.
> example
```bash
./upfast -p 8080 -a 0.0.0.0
```
By default upfast listen's on 127.0.0.1 adress so if you wan't to access it outside your network you will either need to listen to 0.0.0.0 or use a reverse proxy. I recommend the usage of a reverse proxy.
## Note for the users of the python version
You will need to rename the `upload` folder to `files`, since I changed the naming a bit.
When new update of upfast come's out all you will need to change to upfast user and curl the new binary in it's home directory overwritting the old one like this.
If you use the old version of upfast you just need to change values in the systemd service located `/etc/systemd/system/upfast.service`, otherwise create a file in that path with this content.
ExecStart=/usr/local/upfast/upfast -p 8000 -a 127.0.0.1
Restart=on-failure
[Install]
WantedBy=multi-user.target
```
Remember to change the port if you need to or the listening adress.
After that run `systemctl daemon-reload` as root or with sudo.
## Nginx proxy setup
To setup nginx as the reverse proxy you will need to add this server block to either the main nginx config file or in a separate file depending on your version of nginx.