You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And in this case:
First mistake is that "server_name1" is not a valid name (cuz 1 at the end)
Second mistake is is the number of indents (need left for 2 spaces)
After applying this configuration I received an empty /etc/nginx/conf.d/path-to.conf file
The text was updated successfully, but these errors were encountered:
Hey. Thanks. About question, check the screenshot, I added a blue line.
Key "locations" must be part of the "servers" element, not "core". I translate config into json:
Variant for bad config:
Is your feature request related to a problem? Please describe
I have a problem with configuration by validation
Describe the solution you'd like
If my configuration is invalid (based on the current handlers code), an error is thrown
Describe alternatives you've considered
Nope
Additional context
For example I have a config:
And in this case:
First mistake is that "server_name1" is not a valid name (cuz 1 at the end)
Second mistake is is the number of indents (need left for 2 spaces)
After applying this configuration I received an empty
/etc/nginx/conf.d/path-to.conf
fileThe text was updated successfully, but these errors were encountered: