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 configuration #8

Open
slifin opened this issue Jul 17, 2016 · 0 comments
Open

Nginx configuration #8

slifin opened this issue Jul 17, 2016 · 0 comments

Comments

@slifin
Copy link

slifin commented Jul 17, 2016

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?

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