• Recent
    • Tags
    • Popular
    • Register
    • Login

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Custom base url path

    Mango Automation Installation
    3
    5
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DominikJ
      last edited by DominikJ

      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,

      1 Reply Last reply Reply Quote 0
      • Jared WiltshireJ
        Jared Wiltshire
        last edited by

        @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: /
        

        Developer at Radix IoT

        1 Reply Last reply Reply Quote 0
        • D
          DominikJ
          last edited by DominikJ

          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,

          Jared WiltshireJ 1 Reply Last reply Reply Quote 0
          • MattFoxM
            MattFox
            last edited by MattFox

            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

            Do not follow where the path may lead; go instead where there is no path.
            And leave a trail - Muriel Strode

            1 Reply Last reply Reply Quote 0
            • Jared WiltshireJ
              Jared Wiltshire @DominikJ
              last edited by

              @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

              Developer at Radix IoT

              1 Reply Last reply Reply Quote 0
              • First post
                Last post