Install grav in a secondary directory

Have you also tried setting ‘Custom base URL’ setting in the system configuration?