diff --git a/README.md b/README.md
index 1eac94f..303bb3c 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Listmonk for YunoHost
-[](https://dash.yunohost.org/appci/app/listmonk)  
+[](https://dash.yunohost.org/appci/app/listmonk)  
[](https://install-app.yunohost.org/?app=listmonk)
*[Lire ce readme en français.](./README_fr.md)*
@@ -18,31 +18,32 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Listmonk is a standalone, self-hosted, newsletter and mailing list manager. It is fast, feature-rich, and packed into a single binary. It uses a PostgreSQL (⩾ v9.4) database as its data store.
-**Shipped version:** 2.1.0~ynh2
+**Shipped version:** 2.1.0~ynh3
**Demo:** https://demo.listmonk.app/
## Screenshots
-
+
## Documentation and resources
-* Official app website: https://listmonk.app/
-* Official admin documentation: https://listmonk.app/docs/
-* Upstream app code repository: https://github.com/knadh/listmonk
-* YunoHost documentation for this app: https://yunohost.org/app_listmonk
-* Report a bug: https://github.com/YunoHost-Apps/listmonk_ynh/issues
+* Official app website:
+* Official admin documentation:
+* Upstream app code repository:
+* YunoHost documentation for this app:
+* Report a bug:
## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/listmonk_ynh/tree/testing).
To try the testing branch, please proceed like that.
-```
+
+``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/listmonk_ynh/tree/testing --debug
or
sudo yunohost app upgrade listmonk -u https://github.com/YunoHost-Apps/listmonk_ynh/tree/testing --debug
```
-**More info regarding app packaging:** https://yunohost.org/packaging_apps
\ No newline at end of file
+**More info regarding app packaging:**
diff --git a/README_fr.md b/README_fr.md
index 7eaef0a..0173638 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -1,10 +1,14 @@
+
+
# Listmonk pour YunoHost
-[](https://dash.yunohost.org/appci/app/listmonk)  
+[](https://dash.yunohost.org/appci/app/listmonk)  
[](https://install-app.yunohost.org/?app=listmonk)
*[Read this readme in english.](./README.md)*
-*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer Listmonk rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
@@ -14,31 +18,32 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Listmonk is a standalone, self-hosted, newsletter and mailing list manager. It is fast, feature-rich, and packed into a single binary. It uses a PostgreSQL (⩾ v9.4) database as its data store.
-**Version incluse :** 2.1.0~ynh2
+**Version incluse :** 2.1.0~ynh3
**Démo :** https://demo.listmonk.app/
## Captures d'écran
-
+
## Documentations et ressources
-* Site officiel de l'app : https://listmonk.app/
-* Documentation officielle de l'admin : https://listmonk.app/docs/
-* Dépôt de code officiel de l'app : https://github.com/knadh/listmonk
-* Documentation YunoHost pour cette app : https://yunohost.org/app_listmonk
-* Signaler un bug : https://github.com/YunoHost-Apps/listmonk_ynh/issues
+* Site officiel de l'app :
+* Documentation officielle de l'admin :
+* Dépôt de code officiel de l'app :
+* Documentation YunoHost pour cette app :
+* Signaler un bug :
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/listmonk_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit.
-```
+
+``` bash
sudo yunohost app install https://github.com/YunoHost-Apps/listmonk_ynh/tree/testing --debug
ou
sudo yunohost app upgrade listmonk -u https://github.com/YunoHost-Apps/listmonk_ynh/tree/testing --debug
```
-**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
\ No newline at end of file
+**Plus d'infos sur le packaging d'applications :**
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 3d9ed22..f17172c 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -11,11 +11,4 @@ location / {
proxy_http_version 1.1;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
-
- # setup for image upload
- client_max_body_size 256M;
- proxy_max_temp_file_size 1024M;
-
- proxy_read_timeout 300;
- proxy_connect_timeout 300;
}
diff --git a/manifest.json b/manifest.json
index 307e3c1..01c6b27 100644
--- a/manifest.json
+++ b/manifest.json
@@ -6,7 +6,7 @@
"en": "Newsletter and mailing list manager",
"fr": "Manager de newsletter et mailing list"
},
- "version": "2.1.0~ynh2",
+ "version": "2.1.0~ynh3",
"url": "https://listmonk.app/",
"upstream": {
"license": "AGPL-3.0-only",
diff --git a/scripts/install b/scripts/install
index 19a5bc4..e273fa9 100755
--- a/scripts/install
+++ b/scripts/install
@@ -172,7 +172,7 @@ then
fi
# Only the admin can access the admin panel of the app (if the app has an admin panel)
-ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
+ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin --auth_header=false
# Everyone can access the API part
# We don't want to display the tile in the SSO so we put --show_tile="false"
diff --git a/scripts/upgrade b/scripts/upgrade
index b3c28d9..620a184 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -69,7 +69,7 @@ fi
if ! ynh_permission_exists --permission="admin"; then
# Create the required permissions
- ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin
+ ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin --auth_header=false
fi
# Create a permission if needed