cant access app when running nginx fine with apache

  • | 1510 points

    When I switch to nginx browser can´t find the app, while when switching to appache it finds it. I am on win10 any idea why it would be failing? Nginx starts without a problem...

  • administrators
    | 76787 points

    Add autoindex on; to location directive:

    location / {
        try_files $uri $uri/ /index.php$is_args$args;
        autoindex on;

  • | 1510 points

    Should I be adding this inside file nginx.conf or some other file? If so why is it needed now? On my other machine I do not have location directive at all inside this file.

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.