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
If you want to set some sort of an option in nginx that depends on another option being set before, it breaks if the options don't follow each other alphabetically.
For example, access_log has an option to define a custom format. But the custom log format gets ordered below the access_log entry due to sorting happening in either the map.jinja or in the sls_block/nginx macro. This way, access_log can never find it's custom settings because it's always defined below it (since access_log starts with an A).
The text was updated successfully, but these errors were encountered:
Adding sort_keys=False to json() allows nginx.server.config to be sorted as needed for the resulting config file to work with access_log+log_format (issue saltstack-formulas#102) and other parameters (issue saltstack-formulas#40)
If you want to set some sort of an option in nginx that depends on another option being set before, it breaks if the options don't follow each other alphabetically.
For example, access_log has an option to define a custom format. But the custom log format gets ordered below the access_log entry due to sorting happening in either the map.jinja or in the sls_block/nginx macro. This way, access_log can never find it's custom settings because it's always defined below it (since access_log starts with an A).
The text was updated successfully, but these errors were encountered: