My_webapp internal links fail

It can be a nginx.conf to add, perhaps you can try add this. not sure but for a wordpress cms it works.

    if (!-e $request_filename)
     {
     rewrite ^(.*)$ /index.php?q=$1 last;
     

on this part

location __PATH__/ {

    # Path to source
    alias __INSTALL_DIR__/www/;

    # Default indexes and catch-all
    index index.html index.php;
    try_files $uri $uri/ __PATH__/index.php?$args;

    # Remove index.php from URL needed on some cms
    if (!-e $request_filename)
     {
     rewrite ^(.*)$ /index.php?q=$1 last;
     }

    # Prevent useless logs
    location = __PATH__/favicon.ico {
        log_not_found off;
        access_log off;
    }
1 Like