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?
I'm trying to get this project running using nginx but my nginx rule writing skills are no match for these particular rules:
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?