Skip to content

Nginx conf with $_GET params #248

Open
@thisaurel

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".

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