Merge pull request #62758 from peterhoeg/f/zm
nixos/zoneminder: font files cannot be found
This commit is contained in:
commit
635e3b1e6f
1 changed files with 2 additions and 0 deletions
|
@ -229,6 +229,8 @@ in {
|
|||
location / {
|
||||
try_files $uri $uri/ /index.php?$args =404;
|
||||
|
||||
rewrite ^/skins/.*/css/fonts/(.*)$ /fonts/$1 permanent;
|
||||
|
||||
location ~ /api/(css|img|ico) {
|
||||
rewrite ^/api(.+)$ /api/app/webroot/$1 break;
|
||||
try_files $uri $uri/ =404;
|
||||
|
|
Loading…
Reference in a new issue