New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Support deploying Appsmith on a subpath #3636
Comments
@mohanarpit any idea how easy / hard this is? |
As a solution, we'll have to:
Honestly, I'm not sure how extensive a change this will be across the board. Need to investigate the source code before being able to commit a timeline here. |
It would be great to have this feature available so that appsmith can be configured on subpath instead of root path only. |
I try to deploy Appsmith with subdirectory like I found that Appsmith Client currently doesn't support subdirectory hosting, according to Appsmith Client's AppRouter Since this application use |
Did not test dockerized output and production output. |
@Nikhil-Nandagopal @manikumarnune123 Hello everyone, is there any update on this issue? |
@Nikhil-Nandagopal @manikumarnune123 I've the same use case and I have tried implementing this(for /appsmith) but in the end it breaks the ui editor(drag/drop and connect data with widget).
ideally it should be like this: The widget on selection does not toggle the properties in right panel. also dragging the widget breaks the page completely. After trying to drag, everything becomes inactive => even clicking from left side explorer window does not do anything. |
Hey @asingh072318, appreciate your interest here in fixing this but solving for this is quite a complex change. There's several smaller pieces of functionality in both the client and backend that'll need to be reviewed and adjusted for this. In that context, this isn't something that we believe will be impactful for the product right now. Thank you. 🙏 |
Hey @sharat87, i get why you think that not will be good for the product at this time, to be honest this fix will be very practical for big corp or air gapped networks, where very problematic or even not available creating new dns entry or whole server. |
Would greatly appreciate this feature |
@Dofamin it's interesting that you mention it would be practical for large orgs. From our analysis, hosting on a subpath exposes the session cookies of all applications hosted under that path and so this could become a security risk inside large organizations. If you are part of a large organization that would benefit from this feature, I'd love to chat and understand how your team views this type of deployment. https://calendly.com/appsmith-nikhil/30min |
@Nikhil-Nandagopal sounds good |
/
wanna this feat +1 |
Having this capability would be awesome otherwise we need to set up a whole new domain name for it. |
@Bleoo @willmorgan you can still deploy on a subdomain. We don't recommend deployin on a subpath because it shares cookies with all applications on that subpath and that can be a potential security vulnerability |
Sure, but I'm happy to accept the risk of doing so as the person in control of deploying my infrastructure, given Appsmith would be the only application on my domain that actually sets cookies or serves webpages. You can also encrypt the cookie contents on your side, use random cookie names, and use HTTP-only secure cookies by prefixing them with Conversely, Appsmith could still access cookies from my root domain if I deployed it at |
Currently, the
index.html
page of Appsmith requests for resources starting at/
, like/static/main.js
etc. This makes it hard to have an Appsmith instance deployed at a non-root path in a domain. Likehttp://example.com/appsmith
or something.This will be useful in setups where people don't have access to setup an A record for a subdomain, but do have access setup multiple applications over paths by configuring their routing.
Front conversations
The text was updated successfully, but these errors were encountered: