Skip to content

nginx-regex-tester changed my configuration from regextester.conf #47

@zakabluk

Description

@zakabluk

I wrote to regextester.conf next settings

server {
    listen 9000;
    location / {
        return 200 "Match not found\n";
    }
    location ~ "^/([a-zA-Z]{2})/hq/" {
        return 200 "Match found  Capture Group 1: $1\n";
    }
}

after deploy I get nginx error and into docker container I see that my srttings was changed to

server {
    listen 9000;
    location / {
        return 200 "Match not found\n";
    }
    location ~* ^/([a-zA-Z]{2})/hq/ {
        return 200 "Match found  Capture Group 1: $1\n";
    }
}

OK, I returnet config into conteiner againe, then do nginx -s reload and again get wrong config with

 location ~* ^/([a-zA-Z]{2})/hq/

Why?

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