Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Nginx Configuration #18

Closed
wcbzero opened this Issue · 3 comments

4 participants

wcbzero Nate Abele Rob Marscher GWoo
wcbzero

On The Page http://lithify.me/docs/manual/configuration/servers/nginx.wiki

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

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

Nate Abele
Owner

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

Rob Marscher

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?

GWoo
Owner

+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.