8000 Nginx conf with $_GET params · Issue #248 · panique/mini · GitHub
[go: up one dir, main page]

Skip to content

Nginx conf with $_GET params #248

Open
Open
< 5881 /div>

Description

@thisaurel

I noticed that if we try to set $_GET parameters, the configuration will have to be as follows to work:

location / {
    try_files $uri $uri/ /index.php?url=$uri;        
    if ($args) {
        rewrite ^/(.+)$ /index.php?url=$1 last;
    }
}

Otherwise the framework does not take into account the parameters you pass, but only "url".

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0