1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00
This commit is contained in:
Éric Gaspar 2023-05-12 09:42:05 +02:00
parent f6cbee8174
commit 8660b53c6a
5 changed files with 8 additions and 12 deletions

View file

@ -16,7 +16,7 @@ location __PATH__/ {
rewrite ^(.+)$ __PATH__/index.php?q=$1 last; rewrite ^(.+)$ __PATH__/index.php?q=$1 last;
} }
client_max_body_size 30m; client_max_body_size 50m;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;

View file

@ -1,6 +1,6 @@
## Configuration ## Configuration
Use the admin panel of your WordPress to configure this app. Use WordPress admin panel to configure this app.
## YunoHost specific features ## YunoHost specific features

View file

@ -1,6 +1,6 @@
## Configuration ## Configuration
Utilisez le panneau d'administration de votre WordPress pour le configurer. Utilisez le panneau d'administration de WordPress pour configurer l'application.
## Caractéristiques spécifiques YunoHost ## Caractéristiques spécifiques YunoHost
@ -10,10 +10,6 @@ Utilisez le panneau d'administration de votre WordPress pour le configurer.
* Mises à jour automatiques du cœur de WordPress, extentions et thèmes. * Mises à jour automatiques du cœur de WordPress, extentions et thèmes.
* Capable de configurer une instance [multisite](https://codex.wordpress.org/Glossary#Multisite). * Capable de configurer une instance [multisite](https://codex.wordpress.org/Glossary#Multisite).
#### Support multi-utilisateur
Supporté, avec LDAP et SSO.
## Limitations ## Limitations
* Le multisite n'est disponible que sur des sous-domaines. * Le multisite n'est disponible que sur des sous-domaines.

View file

@ -16,7 +16,7 @@ admindoc = "https://codex.wordpress.org/"
code = "https://core.trac.wordpress.org/browser" code = "https://core.trac.wordpress.org/browser"
[integration] [integration]
yunohost = ">= 11.1.18" yunohost = ">= 11.1.19"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = true ldap = true

View file

@ -11,10 +11,10 @@
ynh_maintenance_mode_ON () { ynh_maintenance_mode_ON () {
# Load value of $path and $domain from the config if their not set # Load value of $path and $domain from the config if their not set
if [ -z $path ]; then if [ -z $path ]; then
#REMOVEME? path=$(ynh_app_setting_get $app path) path=$(ynh_app_setting_get $app path)
fi fi
if [ -z $domain ]; then if [ -z $domain ]; then
#REMOVEME? domain=$(ynh_app_setting_get $app domain) domain=$(ynh_app_setting_get $app domain)
fi fi
mkdir -p /var/www/html/ mkdir -p /var/www/html/
@ -67,10 +67,10 @@ include conf.d/yunohost_panel.conf.inc;
ynh_maintenance_mode_OFF () { ynh_maintenance_mode_OFF () {
# Load value of $path and $domain from the config if their not set # Load value of $path and $domain from the config if their not set
if [ -z $path ]; then if [ -z $path ]; then
#REMOVEME? path=$(ynh_app_setting_get $app path) path=$(ynh_app_setting_get $app path)
fi fi
if [ -z $domain ]; then if [ -z $domain ]; then
#REMOVEME? domain=$(ynh_app_setting_get $app domain) domain=$(ynh_app_setting_get $app domain)
fi fi
# Rewrite the nginx config file to redirect from ${path}_maintenance to the real url of the app. # Rewrite the nginx config file to redirect from ${path}_maintenance to the real url of the app.