diff --git a/site-cookbooks/kosmos_strfry/templates/nginx_conf_strfry.erb b/site-cookbooks/kosmos_strfry/templates/nginx_conf_strfry.erb index a1fd251..2bd8f4c 100644 --- a/site-cookbooks/kosmos_strfry/templates/nginx_conf_strfry.erb +++ b/site-cookbooks/kosmos_strfry/templates/nginx_conf_strfry.erb @@ -25,7 +25,7 @@ server { alias /var/www/assets.kosmos.org/site/img/favicon.ico; } - location ~* ^/[@~n]|^/assets { + location ~ ^/(?:@|~|npub|naddr|nprofile|assets/) { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_pass http://_substr;