Merge pull request #62758 from peterhoeg/f/zm

nixos/zoneminder: font files cannot be found
This commit is contained in:
Sarah Brofeldt 2019-06-08 14:36:04 +02:00 committed by GitHub
commit 635e3b1e6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;