Browse Source

Update 'iSpy-Surveillance/README.md'

Added information - work in progress
Michael Honkoop 8 months ago
parent
commit
4ea9df2d4b
1 changed files with 36 additions and 2 deletions
  1. 36 2
      iSpy-Surveillance/README.md

+ 36 - 2
iSpy-Surveillance/README.md

@@ -1,5 +1,5 @@
 ## Description ##
-An iSpy (DVR) server resource repository for running it on RockyLinux 8.x/9.x
+An iSpy (DVR) server resource for running it on RockyLinux 8.x/9.x
 
 
 ## Installation ##
@@ -11,8 +11,42 @@ and will assumes that your server has:</summary>
 * SSH acccess to the box -> by default the RockyLinux 8/9 template does not have openssh-server package installed, so manually add it.<br>
 
 Out of scope:
-* reverse proxy with SSL in front of iSpy/DVR to make it available on default HTTPS port.<br>
+* reverse proxy with SSL in front of iSpy/DVR to make it available on default HTTPS port.(these capabillities are licenced options).<br>
 
 
 </details>
 </br>
+
+
+###### 
+Install/Enable additional repositories (epel) and packages.
+```
+dnf install epel-release wget nano nginx
+```
+
+###### 
+Setup nginx directories for multisite as it makes it more versatile reference: [https://docs.rockylinux.org/guides/web/nginx-multisite/](https://docs.rockylinux.org/guides/web/nginx-multisite/)
+
+
+###### 
+Create a nginx configuration-file for the DVR resource in /etc/nginx/sites-available/ with the following content.
+```
+server {
+    listen 80;
+    server_name your.server.dns-name.sometld;
+    location / {
+        proxy_pass http://localhost:8090;
+
+        proxy_set_header Host $host;
+        proxy_set_header X-Real-IP $remote_addr;
+        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+    }
+}
+```
+
+###### 
+Enable the above configuration to be loaded on nginx startup
+```
+ln -s /etc/nginx/sites-available/your_configfile.conf /etc/nginx/sites-enabled/
+```
+