Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Commit

Permalink
chore(Heroku): fix nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Schulze committed Feb 12, 2016
1 parent f028eae commit b9b8fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx_app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ location / {

location @rewriteapp {
# rewrite all to app.php
rewrite ^(.*)$ /index.php/$1 last;
rewrite ^(.*)$ /app.php/$1 last;
}

location ~ ^/(index)\.php(/|$) {
location ~ ^/(app)\.php(/|$) {
try_files @heroku-fcgi @heroku-fcgi;
internal;
}

0 comments on commit b9b8fc4

Please sign in to comment.