Merge branch 'main' of https://github.com/balzack/databag into main

This commit is contained in:
Pierre Balzack 2023-06-27 17:50:51 -07:00
commit d9beda5be9
2 changed files with 39 additions and 1 deletions

View File

@ -73,6 +73,44 @@ From Nginx Proxy Manager:
- Port '7000' - Port '7000'
- Request new SSL certificate - Request new SSL certificate
<details>
<summary>From Nginx Proxy config:</summary>
```
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;
}
```
</details>
From Your Browser: From Your Browser:
- Enter your server address in the address bar [hostname.domain] - Enter your server address in the address bar [hostname.domain]
- Click the cog icon in the top right - Click the cog icon in the top right

View File

@ -47,7 +47,7 @@ export function useRegistry(search, handle, server) {
const { guid, name, handle, node, location, description, imageSet } = item; const { guid, name, handle, node, location, description, imageSet } = item;
const server = node ? node : profile.state.server; const server = node ? node : profile.state.server;
const logo = imageSet ? getListingImageUrl(server, guid) : 'avatar'; 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 = {}; const actions = {};