diff --git a/pages/02.contribute/04.packaging_apps/09.nginx/packaging_apps_nginx_conf.fr.md b/pages/02.contribute/04.packaging_apps/09.nginx/packaging_apps_nginx_conf.fr.md index 2c558993..14dc2e5f 100644 --- a/pages/02.contribute/04.packaging_apps/09.nginx/packaging_apps_nginx_conf.fr.md +++ b/pages/02.contribute/04.packaging_apps/09.nginx/packaging_apps_nginx_conf.fr.md @@ -14,24 +14,24 @@ La configuration doit être mise dans `conf/nginx.conf`. Il s’agira d’utilis * **FastCGI** est utilisé dans les applications PHP : ```nginx location YNH_EXAMPLE_PATH { - alias YNH_WWW_PATH ; - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - index index.php; - try_files $uri $uri/ index.php; - location ~ [^/]\.php(/|$) { - fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php5-fpm.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; - } + alias YNH_WWW_PATH ; + if ($scheme = http) { + rewrite ^ https://$server_name$request_uri? permanent; + } + index index.php; + try_files $uri $uri/ index.php; + location ~ [^/]\.php(/|$) { + fastcgi_split_path_info ^(.+?\.php)(/.*)$; + fastcgi_pass unix:/var/run/php5-fpm.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; + # Include SSOWAT user panel. + include conf.d/yunohost_panel.conf.inc; } ``` diff --git a/pages/02.contribute/04.packaging_apps/09.nginx/packaging_apps_nginx_conf.md b/pages/02.contribute/04.packaging_apps/09.nginx/packaging_apps_nginx_conf.md index 04c622f1..f6999fb6 100644 --- a/pages/02.contribute/04.packaging_apps/09.nginx/packaging_apps_nginx_conf.md +++ b/pages/02.contribute/04.packaging_apps/09.nginx/packaging_apps_nginx_conf.md @@ -14,24 +14,24 @@ Configuration must be in `conf/nginx.conf`. We must use **FastCGI** or a **proxy * **FastCGI** is used with PHP applications: ```nginx location YNH_EXAMPLE_PATH { - alias YNH_WWW_PATH ; - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - index index.php; - try_files $uri $uri/ index.php; - location ~ [^/]\.php(/|$) { - fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php5-fpm.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; - } + alias YNH_WWW_PATH ; + if ($scheme = http) { + rewrite ^ https://$server_name$request_uri? permanent; + } + index index.php; + try_files $uri $uri/ index.php; + location ~ [^/]\.php(/|$) { + fastcgi_split_path_info ^(.+?\.php)(/.*)$; + fastcgi_pass unix:/var/run/php5-fpm.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; + # Include SSOWAT user panel. + include conf.d/yunohost_panel.conf.inc; } ``` diff --git a/pages/02.contribute/04.packaging_apps/11.helpers/packaging_apps_helpers.md b/pages/02.contribute/04.packaging_apps/11.helpers/packaging_apps_helpers.md index 803a5af7..f20d1ee8 100644 --- a/pages/02.contribute/04.packaging_apps/11.helpers/packaging_apps_helpers.md +++ b/pages/02.contribute/04.packaging_apps/11.helpers/packaging_apps_helpers.md @@ -7,22 +7,19 @@ routes: default: '/packaging_apps_helpers' --- - +# App helpers -
Doc auto-generated by this script on 02/03/2021 (Yunohost version 4.1.7.1)
+Doc auto-generated by [this script]("https://github.com/YunoHost/yunohost/blob/e1062f145777bddbe6294932f7758c557306838c/doc/generate_helper_doc.py") on 02/03/2021 (Yunohost version 4.1.7.1). - -ynh_package_is_installed
ynh_package_version
ynh_package_update
ynh_package_install
ynh_package_remove
ynh_package_autoremove
ynh_package_autopurge
ynh_install_app_dependencies
ynh_add_app_dependencies
ynh_remove_app_dependencies
ynh_install_extra_app_dependencies
ynh_backup
ynh_restore
ynh_restore_file
ynh_store_file_checksum
ynh_backup_if_checksum_is_different
ynh_delete_file_checksum
ynh_backup_before_upgrade
ynh_restore_upgradebackup
ynh_add_fail2ban_config
ynh_remove_fail2ban_config
ynh_get_ram
ynh_require_ram
ynh_die
ynh_print_info
ynh_print_warn
ynh_print_err
ynh_exec_err
ynh_exec_warn
ynh_exec_warn_less
ynh_exec_quiet
ynh_exec_fully_quiet
ynh_print_OFF
ynh_print_ON
ynh_script_progression
ynh_return
ynh_debug
ynh_debug_exec
ynh_use_logrotate
ynh_remove_logrotate
ynh_mysql_connect_as
ynh_mysql_execute_as_root
ynh_mysql_execute_file_as_root
ynh_mysql_dump_db
ynh_mysql_user_exists
ynh_mysql_setup_db
ynh_mysql_remove_db
ynh_find_port
ynh_port_available
ynh_validate_ip4
ynh_validate_ip6
ynh_add_nginx_config
ynh_remove_nginx_config
ynh_use_nodejs
ynh_install_nodejs
ynh_remove_nodejs
ynh_permission_create
ynh_permission_delete
ynh_permission_exists
ynh_permission_url
ynh_permission_update
ynh_permission_has_user
ynh_legacy_permissions_exists
ynh_legacy_permissions_delete_all
ynh_add_fpm_config
ynh_remove_fpm_config
ynh_psql_connect_as
ynh_psql_execute_as_root
ynh_psql_execute_file_as_root
ynh_psql_dump_db
ynh_psql_user_exists
ynh_psql_database_exists
ynh_psql_setup_db
ynh_psql_remove_db
ynh_psql_test_if_first_run
ynh_app_setting_get
ynh_app_setting_set
ynh_app_setting_delete
ynh_webpath_available
ynh_webpath_register
ynh_string_random
ynh_replace_string
ynh_replace_special_string
ynh_sanitize_dbid
ynh_add_systemd_config