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:
parent
4554c5349f
commit
4795438383
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=YNH_HOME
|
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
|
ExecStart=/usr/bin/node bin/kresus.js
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
location /YNH_WWW_PATH/ {
|
location YNH_WWW_PATH/ {
|
||||||
proxy_pass http://127.0.0.1:9876/;
|
proxy_pass http://127.0.0.1:9876/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
|
Loading…
Add table
Reference in a new issue