Re: IPv6 to IPv4

2019-12-11 Thread Sergey A. Osokin
Hi Rhys, hope you're doing well. Yes, it's definitely possible. The following code snippet does the show: server { listen [::]:80 default ipv6only=on; location / { proxy_pass http://127.0.0.1:8081; } } server { listen 127.0.0.1:8081; location / {

IPv6 to IPv4

2019-12-11 Thread Rhys Ferris
Not sure if this is possible. I am trying to enable dual stack for my server, which also proxies several other internal services. Nginx is receiving requests on IPv6 fine, but some of my services are IPv4 only. Can Nginx receive the request on IPv6, retrieve the content from IPv4 internally, and

Re: Getting started

2019-12-11 Thread James Read
On Wed, Dec 11, 2019 at 8:30 PM Francis Daly wrote: > On Tue, Dec 10, 2019 at 11:50:21PM +, James Read wrote: > > Hi there, > > nginx uses a single config file, which may "include" other files. > > When a request comes in to nginx, it chooses one "server" to handle > the request; and then (wi

Re: proxy_pass in post_action location does not send any http request

2019-12-11 Thread Francis Daly
On Tue, Dec 03, 2019 at 04:48:23AM -0500, jacks wrote: Hi there, since no-one else has answered this yet... > What am i doing wrong? Without me trying to be clever about it: you're asking for help about post_action. I think that the post_action directive is only documented in src/http/ngx

Re: Getting started

2019-12-11 Thread Francis Daly
On Tue, Dec 10, 2019 at 11:50:21PM +, James Read wrote: Hi there, nginx uses a single config file, which may "include" other files. When a request comes in to nginx, it chooses one "server" to handle the request; and then (with some exceptions) it chooses one "location" to handle the request

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-

Dumping request metadata to local port

2019-12-11 Thread roshansh
Hi, I am relatively new to NGINX module development so I apologize if the question may seem trivial. I would like to dump data/metadata about certain requests that my nginx server receives for a certain location/ config. Can I write a module that creates a regular C udp socket as well as a hand

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