Created
February 5, 2022 09:29
-
-
Save rojenzaman/a5e2607583d6211cef44713ef2cfc6e3 to your computer and use it in GitHub Desktop.
Solve: nginx: [emerg] open() error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -vp $(dirname "$(nginx -t |& grep '\[emerg\]' | awk '{print $4}' | sed 's/"//g')") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment