From a36e2cca21a57a496af295d9179a1db0b4d6ca02 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 26 Nov 2021 10:53:03 +0100 Subject: [PATCH] Fix --- conf/nginx.conf | 9 +-------- manifest.json | 5 +++++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 094ef1f..549b52a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,12 +4,6 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - -### Example PHP configuration (remove it if not used) index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file @@ -18,7 +12,7 @@ location __PATH__/ { try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; + fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_index index.php; include fastcgi_params; @@ -26,7 +20,6 @@ location __PATH__/ { fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; } -### End of PHP configuration part # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; diff --git a/manifest.json b/manifest.json index 1333fd5..b29d9d2 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,12 @@ "description": { "fr": "Racourcisseur d'URL" }, + "version": "1.0~ynh1", "url": "https://github.com/pips-/shuri", + "upstream": { + "license": "MIT", + "code": "https://github.com/pips-/shuri" + }, "license": "MIT", "maintainer": { "name": "frju365",