Event Local IP and Port

Jason 4 years ago

Device: Small Battery 2
Online
Time: 2022-03-06 22:29:35
Link: http://10.1.25.100:8082?eventId=189908

Where do I update the full URL and port to the event ID above?

Thank you,
Jason

Anton Tananaev 4 years ago

Add web.url parameter to the config file.

Jason 4 years ago

Where exactly is that placed?

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="ReverseProxyInboundRule1" stopProcessing="true">
                    <match url="(.*)" />
                    <action type="Rewrite" url="http://localhost:8082/{R:1}" />
                </rule>
            </rules>
            <outboundRules>
                <rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1">
                    <match filterByTags="A, Form, Img" pattern="^http(s)?://localhost:8082/(.*)" />
                    <action type="Rewrite" value="http{R:1}://contos.com/{R:2}" />
                </rule>
                <preConditions>
                    <preCondition name="ResponseIsHtml1">
                        <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" />
                    </preCondition>
                </preConditions>
            </outboundRules>
        </rewrite>
        <urlCompression doStaticCompression="false" />
    </system.webServer>
</configuration>
Anton Tananaev 4 years ago

Traccar config file.

Jason 4 years ago

Can you provide an example please?

Thank you,
Jason

Anton Tananaev 4 years ago
Jason 4 years ago

Thank you