Solve pathing at nginx level instead of file level.