Nginx Configuration #18

wcbzero opened this Issue Nov 24, 2011 · 3 comments

4 participants


On The Page

The Line:
try_files $uri $uri/ /index.php?$args

Should Read:
try_files $uri $uri/ /index.php?url=$uri;

Union of RAD member

I think the nginx config actually needs a bigger rewrite anyway. @gwoo confirm?


I disagree. I think I was the one that had it switched in the docs to ?$args. Lithium is perfectly capable of reading the REQUEST_URI server variable and using that without needing to pass the uri as a GET var. I've been using this configuration in production for quite a while.

The main issue was I forgot to put a semicolon at the end of the try_files line. But @mehlah fixed that since this issue was opened.

Perhaps it can be closed?

Union of RAD member

+1 args.

@gwoo gwoo closed this May 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment