fix: indeedhub staging API, nginx caching, nostr identity and UI improvements

Switch IndeedHub to staging API, add _next asset caching in nginx,
simplify NostrIdentityPicker component, and update Apps/Web5/Marketplace views.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-14 19:08:09 +00:00
parent b786f68e7a
commit ce2986fd2a
9 changed files with 155 additions and 248 deletions

View File

@@ -331,6 +331,13 @@ server {
sub_filter_once on;
sub_filter '</head>' '<script src="/nostr-provider.js"></script></head>';
}
location /app/indeedhub/_next/ {
proxy_pass http://127.0.0.1:8190/_next/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_cache_valid 200 30d;
add_header Cache-Control "public, max-age=2592000, immutable";
}
location /app/indeedhub/ {
proxy_pass http://127.0.0.1:8190/;
proxy_http_version 1.1;
@@ -342,7 +349,10 @@ server {
proxy_hide_header Content-Security-Policy;
add_header X-Content-Type-Options "nosniff" always;
proxy_set_header Accept-Encoding "";
sub_filter_once on;
sub_filter_types text/html;
sub_filter_once off;
sub_filter '/_next/' '/app/indeedhub/_next/';
sub_filter '/favicon.ico' '/app/indeedhub/favicon.ico';
sub_filter '</head>' '<script src="/nostr-provider.js"></script></head>';
}
location /app/lnd/ {

View File

@@ -231,6 +231,13 @@ location /app/electrs/ {
sub_filter_once on;
sub_filter '</head>' '<script src="/nostr-provider.js"></script></head>';
}
location /app/indeedhub/_next/ {
proxy_pass http://127.0.0.1:8190/_next/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_cache_valid 200 30d;
add_header Cache-Control "public, max-age=2592000, immutable";
}
location /app/indeedhub/ {
proxy_pass http://127.0.0.1:8190/;
proxy_http_version 1.1;
@@ -241,7 +248,10 @@ location /app/indeedhub/ {
proxy_hide_header X-Frame-Options;
proxy_hide_header Content-Security-Policy;
proxy_set_header Accept-Encoding "";
sub_filter_once on;
sub_filter_types text/html;
sub_filter_once off;
sub_filter '/_next/' '/app/indeedhub/_next/';
sub_filter '/favicon.ico' '/app/indeedhub/favicon.ico';
sub_filter '</head>' '<script src="/nostr-provider.js"></script></head>';
}
location /app/nginx-proxy-manager/ {