Edit:
proxy_pass should be put inside a location block.
Example:
location / {
proxy_pass http://10.0.2.2;
}
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,277698,277735#msg-277735
___
nginx mailing list
nginx@nginx.org
http://mailman.ng
It's possible.
#put this in the http context
proxy_http_version 1.1; #default is HTTP/1.0
-
#example server blocks
#redirect to https
server {
listen 80;
server_name "~^(.+\.)?example\d{2}\.com$"; #regex to match
example[number].com and *.example[number].com
return 301 https://$host$
Hi,
The build fails without this patch. Is there a chance for this to be merged
to the 1.12 branch?
https://hg.nginx.org/nginx/rev/4a343228c55e
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,277492,277492#msg-277492
___
nginx mailing list
n
omar_h Wrote:
---
> Hello,
>
> I am trying to add some code to a page which contains a $ symbol.
> However, I am getting the following error:
>
> nginx: [emerg] invalid variable name
>
> Here is a simple example of the config:
>
> subs_filter
Lukas Tribus Wrote:
---
> Hello,
>
>
> > I'm currently testing nginx 1.13.6 x64 on my development machine,
> which is
>
> There is no 1.13.6.
>
>
> > I've tested 5a3ab1b5804b, 46ddff109e72, and 924b6ef942bf and they
> have the
> > same proble
Maxim Dounin Wrote:
---
> Hello!
[...]
> The message suggests that the file in question was non-atomically
> modified while being served. It is expected that such a
> modification will lead to a fatal error if nginx will be able to
> detect th
Sergey Kandaurov Wrote:
---
> > On 6 Oct 2017, at 18:40, joseph-pg
> wrote:
> >
> > Hi,
> > I'm currently testing nginx 1.13.6 x64 on my development machine,
> which is
> > Windows 10 1703 x64, and some
Hi,
I'm currently testing nginx 1.13.6 x64 on my development machine, which is
Windows 10 1703 x64, and sometimes I got a "Secure connection failed" error
on Firefox (55.x and 56). If I hit the reload button (F5) repeatedly, the
page will eventually load.
Dev tools shows: 200 OK, size 0, and trans