Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@ location __PATH__/ {

try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.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 fastcgi_params_with_auth;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add more info here to explain when to use the fastcgi...with_auth and the other other one without auth. Because here it's not explicit to the packager that it's not always this one. Also this one should be used when we need the SSO feature. Otherwise we should use the other one.

}
### End of PHP configuration part
}
2 changes: 1 addition & 1 deletion manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cpe = "???"
fund = "???"

[integration]
yunohost = ">= 12.1.17"
yunohost = ">= 12.1.38"
helpers_version = "2.1"
# FIXME: can be replaced by a list of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386"]
architectures = "all"
Expand Down