location @ofbiz { proxy_pass https://127.0.0.1:__PORT__; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded_For $proxy_add_x_forwarded_for; } location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { root /opt/ofbiz/framework/images/webapp/images; try_files $uri $uri/ @ofbiz; expires 3d; } location / { root /opt/ofbiz/framework/images/webapp/images; try_files $uri $uri/ @ofbiz; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; }