mirror of
https://github.com/YunoHost-Apps/yellow_ynh.git
synced 2024-09-03 20:36:12 +02:00
fix
This commit is contained in:
parent
f385e6ae8b
commit
14082f24a3
5 changed files with 19 additions and 19 deletions
|
@ -9,7 +9,7 @@
|
|||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||
|
||||
## Overview
|
||||
Quick description of this app.
|
||||
Yellow is a CMS designed to make the creation of a website ultra-simple and easy to use. Yellow CMS does not require a database.
|
||||
|
||||
**Shipped version:** 0.8.16
|
||||
|
||||
|
@ -53,7 +53,7 @@ How to configure this app: From an admin panel, a plain file with SSH, or any ot
|
|||
## Links
|
||||
|
||||
* Report a bug: https://github.com/YunoHost-Apps/yellowcms_ynh/issues
|
||||
* App website: https://datenstrom.se/yellow/
|
||||
* App website: https://datenstrom.se/
|
||||
* Upstream app repository: https://github.com/datenstrom/yellow/
|
||||
* YunoHost website: https://yunohost.org/
|
||||
|
||||
|
|
|
@ -1,35 +1,35 @@
|
|||
location __PATH__/cache {
|
||||
location __PATH__/cache {
|
||||
rewrite ^(.*)$ /error break;
|
||||
}
|
||||
|
||||
location __PATH__/content {
|
||||
location __PATH__/content {
|
||||
rewrite ^(.*)$ /error break;
|
||||
}
|
||||
|
||||
location __PATH__/system {
|
||||
location __PATH__/system {
|
||||
rewrite ^(.*)$ /error break;
|
||||
}
|
||||
|
||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
|
||||
alias __FINALPATH__/ ;
|
||||
|
||||
# Force usage of https
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
index index.html yellow.php;
|
||||
|
||||
|
||||
#location __PATH__/ {
|
||||
# if (!-e $request_filename) {
|
||||
# rewrite ^/(.*)$ /yellow.php last;
|
||||
# break;
|
||||
# }
|
||||
#}
|
||||
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.*)$ /yellow.php last;
|
||||
break;
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.*)$ /yellow.php last;
|
||||
break;
|
||||
}
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
try_files $uri $uri/ yellow.php;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
|
|
@ -88,7 +88,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R www-data:www-data $final_path
|
||||
chown -R $app: $final_path
|
||||
chmod -R a+rw $final_path
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -66,7 +66,7 @@ ynh_system_user_create --username=$app
|
|||
#=================================================
|
||||
|
||||
# Restore permissions on app files
|
||||
chown -R www-data:www-data $final_path
|
||||
chown -R $app: $final_path
|
||||
chmod -R a+rw $final_path
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -104,7 +104,7 @@ ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --package="$extra_php_dependenc
|
|||
#=================================================
|
||||
|
||||
# Set permissions on app files
|
||||
chown -R www-data:www-data $final_path
|
||||
chown -R $app: $final_path
|
||||
chmod -R a+rw $final_path
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue