Tag Info

New answers tagged

0

Per your comment this actually looks like it could be basic syntax issues. In future, I would strong suggest running nginx -t (without sudo) to display configuration errors. I think a try-files is preferred over a rewrite but either way, here's what I use for a Moodle site. location / { try_files $uri $uri/ /index.php/$request_uri; } ...


0

if after that the Welcome to nginx! page appears you can try unistall other version on nginx existing on your server with sudo apt-get remove nginx-* and sudo apt-get purge nginx-*



Top 50 recent answers are included