GoteoFoundation / goteo-legacy

Unsupported legacy code for the Crowdfunding Open Source platform Goteo - http://goteo.org/ - Get the new version here: https://github.com/GoteoFoundation/goteo
http://www.goteo.org
Other
234 stars 193 forks source link

Goteo Hosting on nginx #146

Open techupin opened 9 years ago

techupin commented 9 years ago

Hello,

Has anybody tried hosting Goteo on an nginx server instead of apache?

I am trying it and am constantly getting an internal server error. I think the issue has to be with the .htaccess in url rewriting, but am not able to figure out yet, what the issue is.

If somebody has done it, and knows the configuration, it will be very helpful if you could share.

Thanks!

TU

MasaGon commented 9 years ago

Hi techupin,

I did that.

Actually, .htaccess should have no effect with nginx. You should write the rule in .conf file like this (just the core part)

location / {
    try_files $uri $uri/ /index.php?$args;
}
ghost commented 9 years ago

Thanks!!

That solved it!!

On Sun, Nov 23, 2014 at 9:30 PM, Masaki Hidano notifications@github.com wrote:

Hi techupin,

I did that.

Actually, .htaccess should not be effected with nginx. You should write the rule in .conf file like this (just the core part)

location / { try_files $uri $uri/ /index.php?$args; }

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/146#issuecomment-64122649.