1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/linkstack_ynh.git synced 2024-09-03 19:36:14 +02:00
This commit is contained in:
Tagadda 2023-05-06 16:28:26 +00:00
parent c85c478172
commit b242971a17
2 changed files with 18 additions and 2 deletions

View file

@ -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;
}

View file

@ -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"