Welcome! Log In Create A New Profile

Advanced

Reverse proxy + Blynk

Posted by Vejv-cz 
Reverse proxy + Blynk
April 28, 2020 01:12PM
Hello,
I use an nginx reverse proxy and I need to create a rule to allow communication with the IoT server Blynk. The website works smoothly, but Android applications do not. I read somewhere that it does not use the http protocol to communicate with the server and that the problem could be there. This is my very simple proxy rule:
"
server {
listen 443;
listen [::]: 443;

server_name blynk. *;

location / {
proxy_pass https://192.168.1.10:9443/;
}
}
"
Would you please tell me how to set this up for the application to work?
Re: Reverse proxy + Blynk
May 08, 2020 04:46AM
If you didn't advise me, I did it myself.
For those who want to solve it, I have a working but bad solution:
To access the web administration, I use a reverse proxy according to the settings above. For access via the application, I set up portforwarding with port 9443 in the router. The domain that points to the public IP address is written in the application. Then port 9443 is selected. It works, but it's not through a proxy and therefore so secure for communication.
But if no one gets advice, I can't do it better.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 79
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready