1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ofbiz_ynh.git synced 2024-09-03 19:46:33 +02:00

Fix nginx config

This commit is contained in:
Félix Piédallu 2024-03-22 17:56:39 +01:00
parent 518a37aa2a
commit 0d293a8154

View file

@ -6,13 +6,13 @@ 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.