Report comment

Hi Emmanuel Z, As the ngnix server is running on the pi you would be able to access it at 192.168.50.10 or 192.168.50.10:80 if the ip 10.0.77.1 is important and also available on the pi then you could try adding this line to dnsmasq
address=/edu.box/10.0.77.1
This is untested but should redirect any requests for edu.box to the ip

Or you could change the hotspots IP to that what you need the webserver to be.

In /etc/dhcpcd.con change
static ip_address=192.168.50.10/24
static routers=192.168.50.1

to
static ip_address=10.0.77.1/24
static routers=10.0.77.1

and in /etc/dnsmasq.conf change
dhcp-range=192.168.50.150,192.168.50.200,255.255.255.0,12h

to
dhcp-range=10.0.77.150,10.0.77.200,255.255.255.0,12h

Then any device connected to the hotspot will be able to access the webserver with 10.0.77.1 in the web browser or the machines hostname ie raspberrypi.local

Hope this helps