1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Accurate configuration files

Note that starting slash is included in YNH_WWW_PATH variable.
This commit is contained in:
J. Fernando Lagrange 2017-09-10 10:51:56 +02:00
parent 4554c5349f
commit 4795438383
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ After=syslog.target network.target
[Service]
WorkingDirectory=YNH_HOME
Environment=NODE_ENV=production HOME=YNH_HOME KRESUS_URL_PREFIX=/$path
Environment=NODE_ENV=production HOME=YNH_HOME KRESUS_URL_PREFIX=YNH_WWW_PATH
ExecStart=/usr/bin/node bin/kresus.js
Type=simple
Restart=always

View file

@ -1,4 +1,4 @@
location /YNH_WWW_PATH/ {
location YNH_WWW_PATH/ {
proxy_pass http://127.0.0.1:9876/;
proxy_set_header Host $host;
proxy_redirect off;