1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00
This commit is contained in:
ericgaspar 2022-05-20 00:01:04 +02:00
parent 9da004b7d6
commit a108a54bd9
4 changed files with 6 additions and 13 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://framagit.org/fiat-tux/hat-softwares/lstu/-/archive/0.23-0/lstu-0.23-0.tar.gz SOURCE_URL=https://framagit.org/fiat-tux/hat-softwares/lstu/-/archive/0.25-0/lstu-0.25-0.tar.gz
SOURCE_SUM=77bbe521403da22db2753fbeb4939a2decb220e0a21e88b4754a774a9a217c6d SOURCE_SUM=eae4bc13ef761996a13c8133647dce14e040a67173b099b630ef35dba3b19209
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -1,10 +1,6 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ { location __PATH__/ {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
access_log /var/log/nginx/lstu.access.log; access_log /var/log/nginx/lstu.access.log;
error_log /var/log/nginx/lstu.error.log; error_log /var/log/nginx/lstu.error.log;

View file

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=Shortened URLs service Description=Lstu: Shortened URLs service
Documentation=https://framagit.org/luc/lstu Documentation=https://framagit.org/luc/lstu
Requires=network.target Requires=network.target
After=network.target After=network.target

View file

@ -6,7 +6,7 @@
"en": "URL Shortener", "en": "URL Shortener",
"fr": "Raccourcisseur d'URL" "fr": "Raccourcisseur d'URL"
}, },
"version": "0.23-0~ynh1", "version": "0.25-0~ynh1",
"url": "https://lstu.fr", "url": "https://lstu.fr",
"upstream": { "upstream": {
"license": "WTFPL", "license": "WTFPL",
@ -21,7 +21,7 @@
"email": "abld@abld.info" "email": "abld@abld.info"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.2.4" "yunohost": ">= 4.3.0"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
@ -51,10 +51,7 @@
"en": "Choose a theme", "en": "Choose a theme",
"fr": "Choisissez un theme" "fr": "Choisissez un theme"
}, },
"choices": [ "choices": ["default", "milligram"],
"default",
"milligram"
],
"default": "milligram" "default": "milligram"
}, },
{ {