Since I installed Nginx Proxy Manager I can’t manage to have the screenshot attached to my notification
I’m using this script with used to work just fine :
snapshot (node red):
{
"filename":"/config/www/front_snapshot.jpg"
}
– I can see the picture in the WWW directory
{
"title": "Car outside",
"message": "There is a car outside",
"data": {
"subtitle": "Side motion detector",
"push": {
"sound": "Alarm_Nightstand_Haptic.caf"
},
"attachment": {
"content-type": "jpg",
"url": "https:mysub.domain.com/local/front_snapshot.jpg"
}
}
}
whatever I add the port (443) or not its the same, I received the notification just fine but without any screenshot.
previous config was pointing to http(and not https).sub.domain.com:8433/local/front_snapshot.jpg
for info: I can access the snapshot with my local IP : https://192.168.5.33:8443/local/front_snapshot.jpg and also external https://sub.domain.com/local/front_snapshot.jpg