mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Fix nginx file, manifest and app.src
This commit is contained in:
parent
dd11623620
commit
fb93b9c758
3 changed files with 16 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
|||
SOURCE_URL=https://dl.cihar.com/weblate/Weblate-2.16.tar.xz
|
||||
SOURCE_SUM=0cd67d3eef8fb414c55d9447a361feb9718e39460c85de51fc0c636838625c70
|
||||
SOURCE_SUM_PRG=sha256
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.xz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=Weblate-2.16.tar.xz
|
||||
|
|
|
@ -3,38 +3,36 @@ location __PATH__ {
|
|||
# Path to source
|
||||
alias __FINALPATH__/ ;
|
||||
|
||||
location /favicon.ico {
|
||||
location __PATH__/favicon.ico {
|
||||
# DATA_DIR/static/favicon.ico
|
||||
alias __FINALPATH__/static/favicon.ico;
|
||||
expires 30d;
|
||||
}
|
||||
|
||||
location /robots.txt {
|
||||
location __PATH__/robots.txt {
|
||||
# DATA_DIR/static/robots.txt
|
||||
alias __FINALPATH__/static/robots.txt;
|
||||
expires 30d;
|
||||
}
|
||||
|
||||
location /static {
|
||||
location __PATH__/static {
|
||||
# DATA_DIR/static/
|
||||
alias __FINALPATH__/static/;
|
||||
expires 30d;
|
||||
}
|
||||
|
||||
location /media {
|
||||
location __PATH__/media {
|
||||
# DATA_DIR/media/
|
||||
alias __FINALPATH__/media/;
|
||||
expires 30d;
|
||||
}
|
||||
|
||||
location / {
|
||||
include uwsgi_params;
|
||||
# Needed for long running operations in admin interface
|
||||
uwsgi_read_timeout 3600;
|
||||
# Adjust based to uwsgi configuration:
|
||||
uwsgi_pass unix:///run/uwsgi/app/weblate/socket;
|
||||
uwsgi_pass unix:///opt/__APP__/uwsgi.sock
|
||||
# uwsgi_pass 127.0.0.1:8080;
|
||||
}
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"yunohost": ">= 2.7.0"
|
||||
},
|
||||
"description": {
|
||||
"en": "Instant messaging server who use matrix"
|
||||
"en": "A translation platform using Git and Python"
|
||||
},
|
||||
"version": "2.16.0",
|
||||
"url": "https://weblate.org",
|
||||
|
@ -25,7 +25,7 @@
|
|||
"name": "domain",
|
||||
"type": "domain",
|
||||
"ask": {
|
||||
"en": "Choose a domain:"
|
||||
"en": "Choose a domain for Weblate:"
|
||||
},
|
||||
"example": "domain.org"
|
||||
},
|
||||
|
@ -42,7 +42,7 @@
|
|||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
"ask": {
|
||||
"en": "Is it a public server ?"
|
||||
"en": "Should Weblate be public accessible?"
|
||||
},
|
||||
"default": "0"
|
||||
},
|
||||
|
@ -50,11 +50,10 @@
|
|||
"name": "admin",
|
||||
"type": "user",
|
||||
"ask": {
|
||||
"en": "Choose an admin user"
|
||||
"en": "Choose an admin user for Weblate"
|
||||
},
|
||||
"example": "simon"
|
||||
},
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue