Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Nginx Configuration #18

wcbzero opened this Issue · 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;


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?


+1 args.

@gwoo gwoo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.