Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Custom base url path
-
How can I change "base url path" for mango:
I mean e.g:
default: http://10.0.0.1:8080/
needed: http://10.0.0.1:8080/scada/I would like to avoid unnecessary scanning by robots.
Best Regards,
-
@DominikJ No this is not supported in Mango, although you could easily do this by putting Mango behind a reverse proxy. By robots you are talking about search index indexers? There is a robots.txt file that you could override if needed. This is the default contents -
User-agent: * Disallow: / -
I think about bad robots that ignore any directives :)
I have nginx up front.
It works fine in config: http://10.0.0.1/ -> http://10.0.0.1:8080/
but does not: http://10.0.0.1/scada/ -> http://10.0.0.1:8080/in this case a page source looks like:
... <link rel="manifest" href="/modules/mangoUI/web/ui/manifest.json?v=6adfd6d26015f7aa95abe22e893d6593"> ... <div ng-cloak ng-if="::noApi" class="missing-module">mangoApi module is required.</div>so links point to http://10.0.0.1/modules/... not to http://10.0.0.1/scada/modules/...
I'm afraid I would have to rewrite/redirect all subdirs used by Mango - poor solution.
Best Regards,
-
Alternatively you go by the means of using the web server with your own frontend which talks to the mangoApi. That way you can set up the site to work however you like. Do note though that will make things more complex when it comes to getting help as we will not be able to match apples with apples.
Fox
-
@dominikj said in Custom base url path:
I think about bad robots that ignore any directives :)
If you are worried about this I would advise firewalling Mango and using a VPN.
Please read https://en.wikipedia.org/wiki/Security_through_obscurity
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login