Skip to content

Nginx configuration  #8

@slifin

Description

@slifin

I'm trying to get this project running using nginx but my nginx rule writing skills are no match for these particular rules:

# Allowed Files
RewriteRule ^(bootstrap|templates|images|js|bankimage)/.*$ - [L]
RewriteRule ^(3rdparty)/.*(js|css)$ - [L]
RewriteRule ^(debug|test|index).php$ - [L]

# Everything Else
RewriteRule ^([^/]+)/(.+)$ index.php?p=$1&s=$2 [L]
RewriteRule ^(.*)/$ index.php?p=$1 [L]
RewriteRule ^(.*)$ index.php?p=$1 [L]

Is this something that could be abstracted away from the web server's responsibility easily? Or does any one have the necessary skills to write an nginx rule set for this?

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