Redirections on custom app issue

,

My YunoHost server

Hardware: Raspberry Pi 4 at home
YunoHost version: 4.3.6.2
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Hello everyone,
I’ve installed my web site with the ‘custom app’ and it’s all good but… :slight_smile:
redirections issues…
My home page load and so the css but not :

  • images
  • every “deep link” of my web site (ex: myswebsite/uri/monculsurlacommode)

The /etc/nginx/conf.d/monsite.conf seems to be ok

Logs are (on issue part) like

[26/Jan/2022:17:19:52 +0000] "GET /yunohost/sso/?r=aHR0cHM6Ly90cmlwZm9ydHJlZXMubm9oby5zdC9hc3NldHMvaW1nL2hvbWUtYmcucG5n HTTP/2.0" 200 3122 "myswebsite/uri/assets/css/stylesheet.css?v=0.5.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"

Mon serveur YunoHost

Matériel: Raspberry Pi 4 à la maison
Version de YunoHost: 4.3.6.2
J’ai accès à mon serveur : En SSH | Par la webadmin …
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non

Description du problème

Bonjour à tous,
J’ai installé un siteweb via la “custom app” et tout va bien sauf… :slight_smile:
des soucis de redirections…
Ma home charge, les css également mais pas :

  • les images
  • chaque liens “profond” du site (ex: myswebsite/uri/monculsurlacommode)

Mon /etc/nginx/conf.d/monsite.conf a l’air correct (je n’accèderais pas a ma home sinon)

Mes logs sont tous (sur les parties en erreur) de type

[26/Jan/2022:17:19:52 +0000] "GET /yunohost/sso/?r=aHR0cHM6Ly90cmlwZm9ydHJlZXMubm9oby5zdC9hc3NldHMvaW1nL2hvbWUtYmcucG5n HTTP/2.0" 200 3122 "mywebsite/uri/assets/css/stylesheet.css?v=0.5.1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"

Found the origin of my issue (thanks to someone in the chat) : my .htaccess is not working inside Nginx #noob

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.