nginx: output config on failed gixy check (#389550)

authored by lassulus and committed by GitHub 255bd30d 827c0a44

+1 -1
+1 -1
pkgs/build-support/writers/scripts.nix
··· 1107 1107 '' 1108 1108 # nginx-config-formatter has an error - https://github.com/1connect/nginx-config-formatter/issues/16 1109 1109 awk -f ${awkFormatNginx} "$textPath" | sed '/^\s*$/d' > $out 1110 - gixy $out 1110 + gixy $out || (echo "\n\nThis can be caused by combining multiple incompatible services on the same hostname.\n\nFull merged config:\n\n"; cat $out; exit 1) 1111 1111 ''; 1112 1112 1113 1113 /**