Skip to content

Crossplane does not support includes in limit_except #108

Description

@alexeypetrenko

Describe the bug
Crossplane does not support includes in limit_except.

To Reproduce
Steps to reproduce the behavior:

  1. Create an nginx config file with following config
location / {
        limit_except GET { include acl.conf; }
        ...
    }
  1. Run crossplane parse on nginx config
  2. It fails with the following error
{
  "status": "failed",
  "errors": [
    {
      "file": "nginx.conf",
      "error": "\"include\" directive is not allowed here in nginx.conf:39",
      "line": 39
    },

Expected behavior
Status is OK and parsing succeeds.

Your environment

  • Version of crossplane: crossplane 0.5.8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions