Da ich viel einzelne Configs habe, hilft dieses Script den Workflow einfacher zu halten.
Geschrieben mit Opus 4. Prompt:
write a short bash shell script that reloads nginx and tests the config before
the command for the reload is service nginx reload
the test is nginx -t
since the nginx config is fragmented acress a number of referenced files, help me figure out which part has the config error and show the the path to the file