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

This commit is contained in:
lassulus
2025-03-20 17:06:52 -07:00
committed by GitHub
+1 -1
View File
@@ -1107,7 +1107,7 @@ rec {
''
# nginx-config-formatter has an error - https://github.com/1connect/nginx-config-formatter/issues/16
awk -f ${awkFormatNginx} "$textPath" | sed '/^\s*$/d' > $out
gixy $out
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)
'';
/**