Merge pull request 'Fix URL matcher for substr (vs strfry)' (#608) from bugfix/substr_url_matching into master
Reviewed-on: #608
This commit is contained in:
commit
36f5903271
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user