Skip to content

Rewrite rules for NGinx #27

Description

@Mikaciu

Hello,

The wiki is mentioning these lines to rewrite URL:

    location @handler {
        rewrite ^/(.*)$ /index.php?^$1 last;
    }

I think there's a typo there and the caret is not expected ^^'

If I apply this configuration:

    location @handler {
        rewrite ^/(.*)$ /index.php?$1 last;
    }

The URL rewriting is working.

Was the caret wanted or it is a typo ?

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