Nette NGINX rewrite rules

Notice: This thread is very old.
pixx
Member | 7
+
0
-

Hello,

I am new to Nette and I can't figure out how to setup the rewrite rules on my nginx server to get working cool URLs. I get all the time 500 Internal Server Error
Can anybody help me with the settings, pleas?

Thanks in advance,
pixx

Patrik Votoček
Member | 2221
+
0
-
try_files       $uri $uri/ /index.php?$args;

https://gist.github.com/1211815#… :-)

pixx
Member | 7
+
0
-

Thanks to both (:

broken850
Member | 1
+
0
-

I don't mean Abstract Factory or Factory Method from GoF). It's a widely used pattern (especially in Java).