SSOWAT / exclude Custom app

:uk:/:us: Message template (english)

My YunoHost server

Hardware: VPS bought online (OVH) YunoHost version:
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


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": [
            "users": []

Have a situation. => works, i have the index.php page => redirect to the

My network console saw me that there is an 302 redirect from the to

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/;

Can you help me for that ?

Any reason for not using GitHub - YunoHost-Apps/my_webapp_ynh: Custom Web app with SFTP access which should take care of all this ? :confused:


Thank you for answer.
That was what i did to install this custom app.

Just to be sure, i just tested to install again, with anonymous access.
It works for the front page, but when i want to access others menu, it redirect me to the yunohost/sso url :frowning:

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