Archived
1
0

update configs

This commit is contained in:
Jeff Becker
2018-03-09 08:50:01 -05:00
parent 4bef3d8964
commit 55ba1e6c7c
2 changed files with 11 additions and 7 deletions

View File

@@ -71,7 +71,7 @@ server {
alias $nntpchan/webroot/img/$1.$2;
}
location ~ /thm/(.+)\.jpg$ {
location ~ /thm/(.+)$ {
# http subdomain rewrite for sfw
if ( $http_host ~ fbi ) {
rewrite ^/(.+).jpg /static/placeholder.jpg break;
@@ -79,7 +79,7 @@ server {
if ( $http_host ~ sfw ) {
rewrite ^/(.+).jpg /static/placeholder.jpg break;
}
alias $nntpchan/webroot/thm/;
alias $nntpchan/webroot/thm/$1;
}
}