/stats not working for laravel websites but other sites are ok

Discussion in 'Installation/Configuration' started by GreggRed010, Mar 21, 2018.

  1. GreggRed010

    GreggRed010 New Member

    System Information
    OS: Ubuntu 16.04 lts
    ISPConfig Version: 3 (latest stable build)
    Installation as followed by Perfect Server 16.04 with nginx etc...

    The problem I'm having is that for all my laravel websites where I have edited the nginx directives, the /stats pages are returning 404, however for all my other websites with standard configs they works perfectly. So I suspect its something to with change of the websites root directory, I'm just not sure how to fix it.

    Any help is much appreciated, let me know if you require any more information .

    Nginx directive changes:
    location / {
    try_files /laravel/public/$uri /laravel/public/$uri/ /laravel/public/index.php?$query_string;

Share This Page