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 +}