1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/h5ai_ynh.git synced 2024-09-03 20:36:25 +02:00

Add __PHPVERSION__ to NGINX

This commit is contained in:
ericgaspar 2020-09-19 19:22:04 +02:00
parent d977e66bfd
commit 7377945c45
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ location __PATH__/ {
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm.sock;
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi_params; include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user; fastcgi_param REMOTE_USER $remote_user;

View file

@ -2,11 +2,11 @@
"name": "H5AI", "name": "H5AI",
"id": "h5ai", "id": "h5ai",
"packaging_format": 1, "packaging_format": 1,
"version": "0.29.2~ynh1",
"description": { "description": {
"en": "A modern HTTP web server index for NGINX.", "en": "A modern HTTP web server index for NGINX.",
"fr": "Un serveur moderne d'index pour NGINX." "fr": "Un serveur moderne d'index pour NGINX."
}, },
"version": "0.29.2~ynh2",
"url": "https://larsjung.de/h5ai/", "url": "https://larsjung.de/h5ai/",
"license": "MIT", "license": "MIT",
"maintainer": { "maintainer": {