0

I'm using digitalocean to serve my website with Webuzo as the cPanel.

I have a Laravel app and I changed the webserver from Apache to Nginx.

Suddenly all the routes have stopped working.

I have read this question nginx configuration for Laravel 4

but because I'm using Webuzo I don't know where the NGINX Configuration files I should be editing are.

Can someone help me?

2 Answers 2

1

You can edit the file located at /usr/local/apps/nginx/etc/conf.d/common for the NGINX configurations.

Make sure you restart the NGINX service everytime you make changes to the file for the changes to take effect

Sign up to request clarification or add additional context in comments.

Comments

0

Nginx does not support .htaccess and all your routing is defined in .htaccess.

In order to resolve this issue you there is a feature in the Webuzo control panel by which you can set the reverse proxy and that will handle .htaccess by apache.

In simple terms just goto the Webuzo control panel->Nginx Setting. and check the allow htacess option with apache run on port 8080.

By this, your site will work with Nginx.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.