Hi Julien,

Thanks for this solution  , this method worked .
Prometheus is still accessible through port 9090 . Can we stop this
accessibility, so that it is accessible only through nginx .

Thanks

On Mon, Sep 14, 2020 at 2:21 PM Julien Pivotto <[email protected]>
wrote:

> Hello,
>
> You can set the nginx url with the --web.external-url parameter of
> Prometheus.
>
> Le lun. 14 sept. 2020 à 08:03, Sagar <[email protected]> a écrit :
>
>> Hi Wesley,
>> Thanks for your quick response on this .
>> My AlertManage is running behind Nginx .
>>
>> But on the Alertmanager page, as shown in below pic, the *source *link
>> is pointing to the direct URL of Prometheus (without nginx).
>>
>> [image: image.png]
>>
>> On Mon, Sep 14, 2020 at 1:50 PM Wesley Peng <[email protected]> wrote:
>>
>>> You can setup Nginx to proxy both Alertmanager and Prometheus itself on
>>> different http port.
>>>
>>> regards.
>>>
>>>
>>> [email protected] wrote:
>>> > Now the challenge is , AlertManager is directly associated with
>>> > PRometheus and when I access AlertManager , All the source links ate
>>> > pointing to Prometheus directly .
>>> > Can we configure alertmanager source URL to TLS URL of Prometheus  ?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Prometheus Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/prometheus-users/427ffa62-06f1-9e59-d613-310ddcf1a32b%40pobox.com
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Prometheus Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/prometheus-users/CANegE50ksJZzyssaC52g0nuAR-ppCNCSZ%3DOpnU341hbQ01bYGg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/prometheus-users/CANegE50ksJZzyssaC52g0nuAR-ppCNCSZ%3DOpnU341hbQ01bYGg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CANegE52GXE4yFOx6rNOtNirPkBTn9rW899J5gSTZ%2BzkLvt%3DMzw%40mail.gmail.com.

Reply via email to