Znote / ZnoteAAC

Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server.
MIT License
145 stars 127 forks source link

[NOT ISSUE] - Nginx vhost :) #7

Closed shinctl closed 10 years ago

shinctl commented 11 years ago

Hello Znote,

Maybe some people would like to use nginx like me...

I'm posting a nginx vhost entry for it to work ok?

if (!-f $request_filename){ set $rule_0 1$rule_0; } if (!-d $request_filename){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite ^/(.*)$ /characterprofile.php?name=$1; }

PS: Copy the ONLY between between the "###'s"

Hope you like :)

Znote commented 10 years ago

Thanks, I'll make sure to add it to the wiki later. :+1: