I am running an nginx (v. 1.20.1) proxy on my windows machine. The following is the nginx.conf
:
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen *:80;
server_name localhost;
location / {
proxy_pass http://localhost:9000;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}
When I type localhost
in my browser I get the correct response.
When I use my IP-adress however it says that the website can not be reached.
I've tried allowing external access on port 80 as well as access for the nginx.exe
in the Windows Defender Firewall. I also deactivated the firewall in my Kaspersky Internet Security.
Any ideas what the problem is?