and test with `nginx -t`. If everything is fine use `nginx -s reload`.
## Configure cryptpad
Copy the config, uncomment and adjust httpSafeOrigin
$ cp config/config.example.js config/config.js
$ vim config/config.js
```
If you also want to run Grafana on this server adjust the httpPort and httpSafePort (dont forget the nginx configuration).
# Start
## Start via systemd
Create a service with the following content
```
$ vim /etc/systemd/system/cryptpad.service
```
enable and start the service
```
$ systemctl enable cryptpad
Created symlink /etc/systemd/system/multi-user.target.wants/cryptpad.service → /etc/systemd/system/cryptpad.service.
$ systemctl start
```
# Final notes
The guide here was heavily inspired by the guide at [Uberspace](https://lab.uberspace.de/guide_cryptpad.html). If you want to only run a crpytpad, uberspace is a good solution!
If you have any questions or you found any errors, please contact me!