My YunoHost configuration
Hardware: x64 vpn
Internet access: in a datacenter
yunohost 3.4.2.4 (stable)
yunohost-admin 3.4.2 (stable)
moulinette 3.4.2 (stable)
ssowat 3.4.2 (stable)
Have you personalized your yunohost with some specifics configurations or do you use only the yunohost cli/webadmin tool ? basic
Description of my problem
HEY
I would like to install some CMS on my YNH server. To make them work, I have to make some change to the ngnix or php version, and I would like to know if it’s possible and/or risky.
-
First, I have installed this app: Custom Web app with SFTP access. No problem here.
-
When I try to install Flextype CMS, it says that I have to update my PHP version to 7.1.3. Is it safe and possible?
-
When I try to install Automad CMS, I have to modify the ngnix config file to make it work:
If you want to install Automad on an [Nginx](https://en.wikipedia.org/wiki/Nginx) server instead, please edit the `nginx.conf` file and add something like this to the `http` block to enable URL rewriting:
server {
root /path/to/automad;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
Source: https://automad.org/getting-started#nginx-configuration
- My guess is that I have to edit the file
/etc/nginx/conf.d/mydomain.d/my_webapp.conf
- Could you help me to edit that file in order to make it work?
Please tell me if you think a ynh server is not made to do it, and I will stick to grav cms.
THANKS !