I want to create a reverse proxy using nginx in my home netwrok
so when it will redirect me to my home sensors
but I can't seem to find how to do it
I'm using the default setting file
when I add this :
Code: Select all
location /MyFrontPgae.html/{
proxy_pass http:172.16.254.120/
}
(but only from the default index nginx page)
In my MyFrontPgae.html
there is only simple links to my devices
Code: Select all
<body>
<a href = "http://172.16.254.120/"> room1 <a>
<a href = "http://172.16.254.110/"> room2 <a>
<a href = "http://172.16.254.130/"> room3 <a>
Thanks,