/ Message template (english)
My YunoHost server
Hardware: VPS bought online (OVH) YunoHost version: 11.0.10.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
Hi,
Iβm trying to add a custom web app (fediplan from gitlab) in my YH instance.
I configure ssowat to be a public app
"my_webapp.main": {
"auth_header": false,
"label": "fediplan",
"public": true,
"show_tile": true,
"uris": [
"re:domain.ltd/fediplan/.*"
],
"users": []
},
Have a situation.
domain.ltd/fediplan => works, i have the index.php page
domain.ltd/fediplan/foo/bar => redirect to the domain.ltd/yunohsot/sso
My network console saw me that there is an 302 redirect from the domain.ltd/foo/bar to domain.ltd/yunohsot/sso
There is my NGINX conf file
rewrite ^/fediplan$ /fediplan/ permanent;
location /fediplan/ {
# Path to source
alias /var/www/my_webapp/www/public/;
# Default indexes and catch-all
index index.html index.php;
try_files $uri $uri/ /fediplan/index.php?$args;
# Prevent useless logs
location = /fediplan/favicon.ico {
log_not_found off;
access_log off;
}
location = /fediplan/robots.txt {
allow all;
log_not_found off;
access_log off;
}
# Deny access to hidden files and directories
location ~ ^/fediplan/(.+/|)\.(?!well-known\/) {
deny all;
}
# Execute and serve PHP files
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php7.4-fpm-my_webapp.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
# Include SSOWAT user panel.
# include conf.d/yunohost_panel.conf.inc;
}
Can you help me for that ?