nginx website behind a router connects ok with myserver.local but asks for username and password when accessed via my myserver.mydomain.com
All I wanted is to expose one of my Node.js test sites to some outside users and it asks for username and password. How can I do this?
My configuration consists of an apt-get(ed) nginx and my website .conf file in /etc/nginx/conf.d/website.conf
server {
listen 80;
server_name myserver.local;
access_log /var/log/nginx/myserver.local.access.log combined;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}