Skip to content

Commit

Permalink
Added server install info
Browse files Browse the repository at this point in the history
  • Loading branch information
FDelporte committed May 23, 2024
1 parent 40db3c8 commit 91e2bcf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion service/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Running the service

The service runs on a Raspberry Pi provided by Finaltek.com.
The service runs on a Raspberry Pi provided by Finaltek.com, DNS can be managed by Robert and Frank.

## Prepare Raspberry Pi

Expand Down Expand Up @@ -53,3 +53,13 @@ sudo systemctl enable pi4j_board_info.service
sudo systemctl start pi4j_board_info.service
sudo systemctl status pi4j_board_info.service
```

## NGINX and HTTPS

The service is now available on http://api.pi4j.com:8080/, to make it available via HTTPS:

* https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-debian-11
* https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-debian-11
* https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

Relevant files: `/etc/nginx/sites-enabled/{api.pi4j.com,default}`

0 comments on commit 91e2bcf

Please sign in to comment.