Skip to content

Commit

Permalink
fix(nginx): link nginx.conf to dataDir (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
szucsitg authored Apr 26, 2024
1 parent 4c9fd4f commit da64776
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/nginx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ in
if [[ ! -d "${config.dataDir}" ]]; then
mkdir -p "${config.dataDir}"
fi
nginx -p "$(pwd)" -c ${config.configFile} -e /dev/stderr
ln -sfn ${config.configFile} "${config.dataDir}/nginx.conf"
nginx -p "$(pwd)" -c "${config.dataDir}/nginx.conf" -e /dev/stderr
'';
};
in
Expand Down

0 comments on commit da64776

Please sign in to comment.