Skip to content

Commit

Permalink
Merge pull request #15 from clash82/vhost-ngnix
Browse files Browse the repository at this point in the history
Updated vhost configuration for nginx (added rewrite rule for assets directory)
  • Loading branch information
SylvainGuittard committed Mar 3, 2016
2 parents f765624 + 4cef05a commit ef9b8f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/nginx/ez_params.d/ez_rewrite_params
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ rewrite "^/w3c/p3p\.xml" "/w3c/p3p.xml" break;

# Following rule is needed to correctly display assets from eZ Platform / Symfony bundles
rewrite "^/bundles/(.*)" "/bundles/$1" break;
rewrite "^/assets/(.*)" "/assets/$1" break;

rewrite "^(.*)$" "/app.php$1" last;

0 comments on commit ef9b8f1

Please sign in to comment.