cant access app when running nginx fine with apache


  • | 2553 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
    | 87658 points

    Add autoindex on; to location directive:

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

  • | 2553 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.