We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The nginx conf contains the following:
server { if ($host = mydomain.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 80 ; listen [::]:80 ; server_name mydomain.com; return 404; # managed by Certbot }
the formatter doesn't identify the closing } on the if. It formats it like the following:
}
The text was updated successfully, but these errors were encountered:
Same issue here, that messes up the whole http section
Sorry, something went wrong.
This is caused by this: raynigon/vscode-nginx-formatter#207.
No branches or pull requests
The nginx conf contains the following:
the formatter doesn't identify the closing
}
on the if. It formats it like the following:The text was updated successfully, but these errors were encountered: