mirror of
https://github.com/YunoHost-Apps/linkstack_ynh.git
synced 2024-09-03 19:36:14 +02:00
wip
This commit is contained in:
parent
c85c478172
commit
b242971a17
2 changed files with 18 additions and 2 deletions
|
@ -10,7 +10,7 @@ location __PATH__/ {
|
|||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||
#client_max_body_size 50M;
|
||||
|
||||
try_files $uri $uri/ index.php?$query_string;
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
@ -28,3 +28,19 @@ location __PATH__/ {
|
|||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
location ~ ^\. {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ \.sqlite$ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ \.env$ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ /\.htaccess {
|
||||
deny all;
|
||||
}
|
|
@ -13,7 +13,7 @@ maintainers = ["Tagada"]
|
|||
license = "agpl-3-or-later"
|
||||
website = "https://linkstack.org/"
|
||||
admindoc = "https://docs.linkstack.org/"
|
||||
code = "https://some.forge.com/example/example"
|
||||
code = "https://github.com/LinkStackOrg/LinkStack"
|
||||
# FIXME: No CPE yet... check https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=LinkStack
|
||||
#cpe = "???"
|
||||
fund = "https://liberapay.com/LittleLink-Custom"
|
||||
|
|
Loading…
Add table
Reference in a new issue