Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx conf with $_GET params #248

Open
thisaurel opened this issue Mar 7, 2019 · 0 comments
Open

Nginx conf with $_GET params #248

thisaurel opened this issue Mar 7, 2019 · 0 comments

Comments

@thisaurel
Copy link

thisaurel commented Mar 7, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant