Alright, so I tried it and it seems that it isn’t a problem anymore but, now I get nginx errors.
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/&is_public=1&language=fr&admin=package_checker&password=1Strong-Password&port=666&"
1825 INFO Installing nonbiri...
2260 INFO [....................] > Validating installation parameters... [00h00m,00s]
3232 INFO [+...................] > Storing installation settings... [00h00m,01s]
4360 INFO [#+..................] > Finding an available port... [00h00m,01s]
4862 INFO [##+.................] > Installing dependencies... [00h00m,01s]
50592 INFO [###+................] > Configuring system user... [00h00m,45s]
51158 INFO [####+...............] > Creating a MySQL database... [00h00m,01s]
52050 INFO [#####+..............] > Setting up source files... [00h00m,01s]
53849 INFO [######+.............] > Configuring NGINX web server... [00h00m,02s]
56297 INFO [#######+............] > Configuring PHP-FPM... [00h00m,02s]
59639 INFO [########+...........] > Creating a data directory... [00h00m,03s]
60118 INFO [#########+..........] > Adding a configuration file... [00h00m,01s]
62245 INFO [##########+.........] > Configuring a systemd service... [00h00m,02s]
64917 INFO [###########+........] > Configuring SSOwat... [00h00m,03s]
66029 INFO [############+.......] > Finalizing installation... [00h00m,01s]
70355 INFO [#############+......] > Configuring log rotation... [00h00m,04s]
70662 INFO [##############+.....] > Integrating service in YunoHost... [00h00m,00s]
71378 INFO [###############+....] > Starting a systemd service... [00h00m,01s]
71944 INFO [################+...] > Configuring Fail2Ban... [00h00m,01s]
72175 INFO [#################+..] > Configuring permissions... [00h00m,00s]
75942 INFO [##################+.] > Reloading NGINX web server... [00h00m,04s]
76447 INFO [####################] > Installation of nonbiri completed [00h00m,00s]
78647 SUCCESS Installation completed
> Validating that the app nonbiri can/can't be accessed with its URL...
Error: The HTTP code shows an error.
Warning: Test URL: sub.domain.tld
Real URL: https://sub.domain.tld/
HTTP code: 403
Page title:
Page extract:
403 Forbidden
__________________________________________________________________
nginx
Error: The HTTP code shows an error.
Warning: Test URL: sub.domain.tld/
Real URL: https://sub.domain.tld/
HTTP code: 403
Page title:
Page extract:
403 Forbidden
__________________________________________________________________
nginx
--- FAIL ---
Working time for this test: 2 minutes, 29 seconds (03:25:57)
============================================
[Test 3/9] Installation in a sub path
============================================
Running: yunohost app install --force /app_folder -a "domain=sub.domain.tld&path=/path&is_public=1&language=fr&admin=package_checker&password=1Strong-Password&port=666&"
2010 INFO Installing nonbiri...
2534 INFO [....................] > Validating installation parameters... [00h00m,00s]
3602 INFO [+...................] > Storing installation settings... [00h00m,01s]
4659 INFO [#+..................] > Finding an available port... [00h00m,01s]
5263 INFO [##+.................] > Installing dependencies... [00h00m,01s]
50284 INFO [###+................] > Configuring system user... [00h00m,45s]
50804 INFO [####+...............] > Creating a MySQL database... [00h00m,00s]
51773 INFO [#####+..............] > Setting up source files... [00h00m,01s]
53364 INFO [######+.............] > Configuring NGINX web server... [00h00m,02s]
55751 INFO [#######+............] > Configuring PHP-FPM... [00h00m,02s]
59091 INFO [########+...........] > Creating a data directory... [00h00m,03s]
59638 INFO [#########+..........] > Adding a configuration file... [00h00m,01s]
61773 INFO [##########+.........] > Configuring a systemd service... [00h00m,02s]
64380 INFO [###########+........] > Configuring SSOwat... [00h00m,03s]
65659 INFO [############+.......] > Finalizing installation... [00h00m,01s]
69986 INFO [#############+......] > Configuring log rotation... [00h00m,04s]
70225 INFO [##############+.....] > Integrating service in YunoHost... [00h00m,01s]
70838 INFO [###############+....] > Starting a systemd service... [00h00m,00s]
71367 INFO [################+...] > Configuring Fail2Ban... [00h00m,01s]
71612 INFO [#################+..] > Configuring permissions... [00h00m,00s]
75071 INFO [##################+.] > Reloading NGINX web server... [00h00m,03s]
75577 INFO [####################] > Installation of nonbiri completed [00h00m,01s]
77773 SUCCESS Installation completed
> Validating that the app nonbiri can/can't be accessed with its URL...
Error: The HTTP code shows an error.
Warning: Test URL: sub.domain.tld/path
Real URL: https://sub.domain.tld/path/
HTTP code: 403
Page title:
Page extract:
403 Forbidden
__________________________________________________________________
nginx
Error: The HTTP code shows an error.
Warning: Test URL: sub.domain.tld/path/
Real URL: https://sub.domain.tld/path/
HTTP code: 403
Page title:
Page extract:
403 Forbidden
__________________________________________________________________
nginx
--- FAIL ---