From 91e2bcf938efda9c83f17dd914d7a8231e168b28 Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Thu, 23 May 2024 18:03:43 +0200 Subject: [PATCH] Added server install info --- service/README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/service/README.md b/service/README.md index de80a7c..0ce801f 100644 --- a/service/README.md +++ b/service/README.md @@ -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 @@ -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}` \ No newline at end of file