Re: NGINX only for forwarding to LAN

2019-12-13 Thread Francis Daly
On Thu, Dec 12, 2019 at 01:12:52PM -0500, pixel24 wrote: Hi there, > 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 > howev

Re: NGINX only for forwarding to LAN

2019-12-12 Thread pixel24
problem. I am not allowed to redirect the subdomain on the webserver: gw.mydomain.com --> WAN-IP from IPFire but must set an A-record in the DNA. gw A [WAN-IP from IPfire] now it works unencrypted. I will now get to the setup of LetsEncrypt. But for this I open a new threat. many thanks! Post

Re: NGINX only for forwarding to LAN

2019-12-12 Thread pixel24
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; sendfileon;

Re: NGINX only for forwarding to LAN

2019-12-12 Thread Francis Daly
On Thu, Dec 12, 2019 at 11:22:10AM -0500, pixel24 wrote: Hi there, > in the webbrowser firefox show me the status: > > connect to: http://192.168.XX.5 > > that can't work, can it? This address is not available in inetrnet Quoting my previous message: """ If you can report a specific problem -

Re: NGINX only for forwarding to LAN

2019-12-12 Thread pixel24
the line: server_names_hash_bucket_size 64; in the http-section fix the start-problem but when I try from outside to brwose to: gw.mydomain.com in the webbrowser firefox show me the status: connect to: http://192.168.XX.5 that can't work, can it? This address is not available in inetrnet Pos

Re: NGINX only for forwarding to LAN

2019-12-12 Thread pixel24
based on the default file, combined with your section, the file now looks like this: worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfileon; keepalive_timeout 65; server {

Re: NGINX only for forwarding to LAN

2019-12-11 Thread Francis Daly
On Wed, Dec 11, 2019 at 07:42:26AM -0500, pixel24 wrote: Hi there, > NGINX on the IPfire should now forward all requests directed to > gw.mydomain.de to the server 192.168.xx.5 (and turück) > > and requests addressed to cloud.mydomain.com to LAN: 192.168.xx.6 Typed, rather than tested and copy-

NGINX only for forwarding to LAN

2019-12-11 Thread pixel24
Hi@all, first of all a "hello" to the round. I am new here :-) I want to set up NGINX on my firewall/router (IPFire). But only as reverse proxy. There are no websites running on the IPFire. The IP-Fire has a fixed IP on the WAN interface and can be reached from the Internet. [IPFire] WAN: 10.20