Skip to content

Commit

Permalink
add mime.types in uwsgi for the static files
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamjan committed Sep 11, 2020
1 parent 72f0143 commit 564d50a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ let
name = "rootfs";
inherit uwsgi php ttRss uwsgiLogger;
coreutils = pkgs.coreutils;
mimeTypes = pkgs.mime-types + "/etc/mime.types";
buildCommand = ''
# prepare the portable service file-system layout
mkdir -p $out/etc/systemd/system $out/proc $out/sys $out/dev $out/run $out/tmp $out/var/tmp
Expand Down
1 change: 1 addition & 0 deletions files/tt-rss.ini.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ processes = 2
die-on-term = true
logger = @uwsgiLogger@

mime-file = @mimeTypes@
site-root = @ttRss@
chdir = %(site-root)

Expand Down

0 comments on commit 564d50a

Please sign in to comment.