mirror of
https://github.com/YunoHost-Apps/grocy_ynh.git
synced 2024-09-03 19:25:54 +02:00
1e626a64ec
* Auto-update READMEs * Update manifest.toml * Auto-update READMEs * cleaning * remove config panel * Enable LDAP (#72) * Allow for LDAP authentication * Change filter --------- Co-authored-by: ericgaspar <junk.eg@free.fr> * [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 (#69) * [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 * Auto-update README * Auto-update READMEs --------- Co-authored-by: Yunohost-Bot <> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: ericgaspar <junk.eg@free.fr> * Update manifest.toml * Auto-update READMEs * Helpers 2.1 (#74) * Update READMEs * cleaning * cleaning --------- Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Co-authored-by: Félix Piédallu <felix@piedallu.me> * Update tests.toml --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: ericgaspar <junk.eg@free.fr> Co-authored-by: spaced <spaced@eksoh.net> Co-authored-by: eric_G <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
28 lines
792 B
Nginx Configuration File
28 lines
792 B
Nginx Configuration File
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
|
location __PATH__/ {
|
|
|
|
# Path to source
|
|
alias __INSTALL_DIR__/public/;
|
|
|
|
index index.php;
|
|
|
|
client_max_body_size 50M;
|
|
|
|
try_files $uri __PATH__/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;
|
|
include /etc/nginx/fastcgi_params;
|
|
fastcgi_intercept_errors on;
|
|
fastcgi_param REMOTE_USER $remote_user;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
}
|
|
|
|
# Include SSOWAT user panel.
|
|
include conf.d/yunohost_panel.conf.inc;
|
|
}
|