From 0d293a81544e9c0d2b750f99a7a52abaedbda24d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Fri, 22 Mar 2024 17:56:39 +0100 Subject: [PATCH] Fix nginx config --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 97b740c..e797d12 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,15 +6,15 @@ location @ofbiz { } location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { - root /opt/ofbiz/framework/images/webapp/images; + root __INSTALL_DIR__/framework/images/webapp/images; try_files $uri $uri/ @ofbiz; expires 3d; } location / { - root /opt/ofbiz/framework/images/webapp/images; + root __INSTALL_DIR__/framework/images/webapp/images; try_files $uri $uri/ @ofbiz; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; -} \ No newline at end of file +}