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

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;