NGINX only for forwarding to LAN
pixel24
nginx-forum at forum.nginx.org
Thu Dec 12 18:12:52 UTC 2019
My mistake! On IPFire (running NGINX) port 80 was closed. Now I'm a little
closer. With:
worker_processes 1;
events {
worker_connections 1024;
}
http {
server_names_hash_bucket_size 64;
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
server_name gw.mydomain.com;
location / {
proxy_pass http://192.168.24.109;
}
}
}
I can connect from the outside to the web server :-) What surprises me
however is that in the address line of Firefox my external WAN-IP of the
firewall is located afterwards. Is this normal an ok?
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,286443,286463#msg-286463
More information about the nginx
mailing list