# forge/web's desktop as forge-web-server serves it: the page from forge-web, and the shell and each application from its own package, at the paths the page and the catalog give them; an application's package installs it under the root.
server
{
	listen 8090;
	listen [::]:8090;
	server_name _;

	root /usr/share/forge/web;
	index crustace.html;

	gzip on;
	gzip_types application/wasm application/javascript application/json image/svg+xml text/css text/plain;

	location /crustace/
	{
		alias /usr/share/crustace/web/;
	}

	# forge-web's catalog with the entries the applications' packages add, which the trigger on /usr/share/forge/apps.d rewrites; their files lie under the root.
	location /apps/
	{
		alias /var/lib/forge-web-server/apps/;
	}
}
