speedianet / os

Speedia OS is a container operating system designed so you never have to write a Dockerfile again.
https://speedia.net/os/
Eclipse Public License 2.0
11 stars 2 forks source link

fix: 403 on nginx when uninstalling item from marketplace #108

Open ntorga opened 4 days ago

ntorga commented 4 days ago

As mentioned in this pull request, there is an issue occurring when uninstalling marketplace items from the root directory (/app/html).

The problem arises when uninstalling a marketplace item that was installed in the root directory. During uninstallation, all its files are moved to /app/.trash, leaving only the subdirectories of other virtual hosts intact. However, uninstalling from /app/html causes all other installations to stop working, and NGINX starts returning a 403 error. If uninstallation is performed from a subdirectory, the remaining installations continue to function, while the virtual host with no other installations returns a 404 error from NGINX.

This issue appears to be related to .htaccess, as reinstalling something in the root directory resolves the problem. For now, if uninstallation is performed in the root directory, it disrupts all other installations.