From 50af37f2c3f08425408949a38866256917998ed4 Mon Sep 17 00:00:00 2001 From: Zzzz <46766062+samuraikid0@users.noreply.github.com> Date: Mon, 26 Jun 2023 17:09:58 -1100 Subject: [PATCH 1/2] Update README.md (#46) Nginx proxy config add --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index a6f809c8..86bacbf8 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,44 @@ From Nginx Proxy Manager: - Port '7000' - Request new SSL certificate +
+ From Nginx Proxy config: + + ``` +server { + server_name your.site.tld; + +location / { + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; + proxy_pass http://localhost:7000; + client_max_body_size 0; + proxy_max_temp_file_size 0; + +} + + listen 443 ssl http2; + ssl_certificate /etc/letsencrypt/live/your.site.tld/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/your.site.tld/privkey.pem; + include /etc/letsencrypt/options-ssl-nginx.conf; + ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; + add_header Strict-Transport-Security "max-age=0"; + +} + +server { + if ($host = your.site.tld) { + return 301 https://$host$request_uri; + } + listen 80; + server_name your.site.tld; + return 404; +} +``` +
+ From Your Browser: - Enter your server address in the address bar [hostname.domain] - Click the cog icon in the top right From 725eb9bac15c04ba9fc894b1d44902128f6b67c4 Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Tue, 27 Jun 2023 11:11:00 -0700 Subject: [PATCH 2/2] fixing issue with connect to other nodes in mobile app --- app/mobile/src/session/registry/useRegistry.hook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mobile/src/session/registry/useRegistry.hook.js b/app/mobile/src/session/registry/useRegistry.hook.js index 664e219c..3c2637d1 100644 --- a/app/mobile/src/session/registry/useRegistry.hook.js +++ b/app/mobile/src/session/registry/useRegistry.hook.js @@ -47,7 +47,7 @@ export function useRegistry(search, handle, server) { const { guid, name, handle, node, location, description, imageSet } = item; const server = node ? node : profile.state.server; const logo = imageSet ? getListingImageUrl(server, guid) : 'avatar'; - return { guid, name, handle, server, location, description, guid, imageSet, logo }; + return { guid, name, handle, node: server, location, description, guid, imageSet, logo }; }; const actions = {};