Hi,
I would try this with a location block...
location /URL/of/Picture/tobereplaced.png {
root /var/www/test1;
try_files where/stored/image1.png;
}
location / {
continue to proxy pass everything else
Hope this helps
Ian
On 24/06/2022 00:01, Jason Prouty wrote:
Is it possible to
Is it possible to replace an PNG file with a local image
I want to reverse proxy to site and then change the image returned
I have tried the sub_filter setting but nothing changes.
server {
server_name test1.example1.com;
location /{
proxy_ssl_server_name on;
proxy_pass https://te
On Tue, May 31, 2022 at 01:53:20AM -0400, husaindalroti wrote:
Hi there,
> Is it possible to pass lua variable in proxy pass directive which we define
> using set_by_lua_file directive ?
Untested, but the documentation suggests that it should work.
> set_by_lua_file $ref
Hi Team,
Is it possible to pass lua variable in proxy pass directive which we define
using set_by_lua_file directive ?
Example :
set_by_lua_file $ref test.lua;
proxy_pass '$ref';
Below is lua code :
local function main()
local host="https://example.com";
return h
On Tue, Dec 14, 2021 at 11:28:02PM -0500, eboats wrote:
Hi there,
> I don't see any errors in the logs - the request gets to the backend API ok
> but am wondering what nginx config params may be involved in handling
> content_type= multipart/form-data.
As far as nginx is concerned, I'm pretty su
I don't see any errors in the logs - the request gets to the backend API ok
but am wondering what nginx config params may be involved in handling
content_type= multipart/form-data.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,293076,293078#msg-293078
Hi,
On Tue, Dec 14, 2021 at 11:09:15PM -0500, eboats wrote:
> Hello,
> I'm using nginx as a proxy to a backend API that takes a POST payload
> of a csv file ( content type = multipart/form-data ). I can see the request
> getting to the API but the file is not being passed by nginx.
>
> What ng
Hello, I'm using nginx as a proxy to a backend API that takes a POST payload
of a csv file ( content type = multipart/form-data ). I can see the request
getting to the API but the file is not being passed by nginx.
What nginx config params do I need for nginx to pass the multipart/form-data
to
sted a question:
> > >
> > >
> > https://unix.stackexchange.com/questions/678060/nginx-proxy-pass-only-
> > works-for-root-location
> >
> > First of all you may want to define "won't work". What exactly
> > happens, what goes wrong?
> >
Maxim Dounin Wrote:
---
> Hello!
>
> On Thu, Nov 18, 2021 at 05:51:08AM -0500, gunitinug wrote:
>
> > Hello. I posted a question:
> >
> >
> https://unix.stackexchange.com/questions/678060/nginx-proxy-pas
Hello!
On Thu, Nov 18, 2021 at 05:51:08AM -0500, gunitinug wrote:
> Hello. I posted a question:
>
> https://unix.stackexchange.com/questions/678060/nginx-proxy-pass-only-works-for-root-location
First of all you may want to define "won't work". What exactly
happens
Hello. I posted a question:
https://unix.stackexchange.com/questions/678060/nginx-proxy-pass-only-works-for-root-location
Thanks.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,292884,292884#msg-292884
___
nginx mailing list
nginx
Awesome, this approach totally work, thank you very much:
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid/var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
default_type application/octet-stream;
log_format main '$remote_addr - $remot
On Mon, Feb 22, 2021 at 02:15:42PM -0500, sanflores wrote:
Hi there,
I suspect that if I were doing this, I would probably pick one url that
is not otherwise used on my server (in this example, "/puppet/"), and
use that as a "stepping stone".
Then, if this request should be handled specially, re
First of all, thanks for your help.
Here is my configuration:
cat nginx.conf
-
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid/var/run/nginx.pid;
events {
worke
On Mon, Feb 22, 2021 at 07:52:04AM -0500, sanflores wrote:
Hi there,
> This would be great, but I don't know how to server the context from nginx
> with a rewrite, what would work is:
I'm afraid I don't fully understand what response you want to send to
what request.
Can you show some examples?
This would be great, but I don't know how to server the context from nginx
with a rewrite, what would work is:
if ($is_NOT_a_bot) {
rewrite in order to save the content in /usr/share/nginx/html
}
proxy_pass
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,290773,290820#msg-290820
On Tue, Feb 16, 2021 at 10:00:47AM -0500, sanflores wrote:
Hi there,
> I have an Angular app and need to use puppeteer for SSR. In order to make it
> work I need to send the request with the body but I can't figure how to make
> these things work together.
Can you see, which part is failing? Is
I have an Angular app and need to use puppeteer for SSR. In order to make it
work I need to send the request with the body but I can't figure how to make
these things work together.
if ($limit_bots = 1){
proxy_pass http://localhost:3000/puppeteer/download/html/;
On Sun, Sep 06, 2020 at 10:15:28AM -0400, ravansh wrote:
Hi there,
> I am unable to reverse proxy to my https backend. what am i doing wrong? I
> am using the same set of cert for the backend and frontend as I am running
> them both on the same machine. I got my certificates from zerossl. Here is
Hello!
On Sun, Sep 06, 2020 at 10:15:28AM -0400, ravansh wrote:
> I am unable to reverse proxy to my https backend. what am i doing wrong? I
> am using the same set of cert for the backend and frontend as I am running
> them both on the same machine. I got my certificates from zerossl. Here is
>
8 EDT 2020
To: nginx@nginx.org
Subject: Unable to proxy pass to https backend on nginx
I am unable to reverse proxy to my https backend. what am i doing wrong? I
am using the same set of cert for the backend and frontend as I am running
them both on the same machine. I got my certificates from ze
I am unable to reverse proxy to my https backend. what am i doing wrong? I
am using the same set of cert for the backend and frontend as I am running
them both on the same machine. I got my certificates from zerossl. Here is
the error I get :
curl --cacert /etc/ssl/certs/ca_bundle.crt https://www.
On Mon, May 11, 2020 at 06:36:10PM -0400, evulcu wrote:
Hi there,
> I'm trying to set up a reverse proxy with NGNIX on a Ubuntu Server. The
> upstream server is IIS configured with basic authentication working only as
> https since it has a 301 redirection configured on it.
what does
curl -ik
Hello,
I'm trying to set up a reverse proxy with NGNIX on a Ubuntu Server. The
upstream server is IIS configured with basic authentication working only as
https since it has a 301 redirection configured on it.
Here is my conf file
server {
listen 80;
return 301 https://$host$request_uri;
}
server
> Hi.
> Here the result from tcpdump:
> from inside my network
> 192.168.1.10.60221 > 192.168.1.3.fujitsu-dtcns: UDP, length 107
> 192.168.1.3.fujitsu-dtcns > 192.168.1.10.60221: UDP, length 85
>
> From all agenst fro outside my network:
> any.public.ip.address.56916 > 151.1.210.45.fujitsu-dtcns:
Hope this help
Da: nginx per conto di Reinis Rozitis
Inviato: lunedì 2 marzo 2020 19:07:39
A: nginx@nginx.org
Oggetto: RE: problem with proxy pass
> but my agents are still unable to send logs over port 1514 UDP
Well at least the nginx setup seems in working order.
Now
> but my agents are still unable to send logs over port 1514 UDP
Well at least the nginx setup seems in working order.
Now do you see any more detailed messages on the agents (like extended ip/port
info / connection error)?
Also you could inspect the network traffic to see if the centos box re
but my agents are still unable to send logs over port 1514 UDP
Da: nginx per conto di Reinis Rozitis
Inviato: lunedì 2 marzo 2020 00:09:53
A: nginx@nginx.org
Oggetto: RE: problem with proxy pass
> The agents in my local network(192.x.x.x)) instead, are
> The agents in my local network(192.x.x.x)) instead, are able to authenticate
> over port 1515 TCP, but not to send logs over 1514 UDP. The agents log said
> that they are unable to connect over that port.
>
> If I temporally change the port 1514 UDP to 1514 TCP in my HIDS nodes, and
> make the s
-mail: stefano.ser...@ngway.it
http://www.ngway.it
-Messaggio originale-
Da: nginx Per conto di Reinis Rozitis
Inviato: giovedì 27 febbraio 2020 18:46
A: nginx@nginx.org
Oggetto: RE: problem with proxy pass
> From the hosts outside i've no connection problem, but from inside they are
&
> From the hosts outside i've no connection problem, but from inside they are
> unable to connect to the port. No firewall are enable on Nginx LB( Centos 7
> machine by the way) and Selinux is disabled.
By "from inside" you mean other hosts in LAN or the same centos machine?
If first then it's
Hi all.
I'm trying to use nginx as load balacer form my HIDS system (Wazuh). I've hosts
that send logs from outside of my network and from inside throught port udp
1514.
>From the hosts outside i've no connection problem, but from inside they are
>unable to connect to the port. No firewa
PS: If, like you mentioned in the other reply message, want to create
environments dynamically, you could use the map directive with an include
file that is dynamically updated by the deployment process of such an
environment (and then do nginx -s reload), but even more elegant would be
the replace
; of the URL is static
2. The first field of the URI includes a random string with the environment
ID.
3. Based on this ID a proxy pass is added to the nginx conf
4. The proxy pass points to a static NEW "host" and the URI includes the
original URI excluding the first filed (env ID field)
ironment
ID.
3. Based on this ID a proxy pass is added (I will add DNS records etc.)
4. The proxy pass points to a static "host" and the URI includes the
original URI excluding the first filed (env ID field)
Meaning that I will need a good rewrite and an "if" statement for each o
On Wed, Sep 11, 2019 at 08:41:15PM +0200, meir hazon wrote:
Hi there,
> I don't think so, it should always be the first field of the URI but it
> would be a random string. I have to proxy pass and rebuild the new URI
> based on location at the original URI only.
I don't u
Hi,
It looks great, I will try it out and let you know.
Thanks so much,
Meir
On Wed, Sep 11, 2019 at 5:56 PM j94305 wrote:
> Try something like this:
>
> map $urlprefix $urlproxy {
> "foo" "https://foohost.foo.com";;
> "bar" "http://barhost.blah.com";;
> "fie" "https://fie.special.domai
Hi,
I don't think so, it should always be the first field of the URI but it
would be a random string. I have to proxy pass and rebuild the new URI
based on location at the original URI only.
Could you think of a way to do this?
Thanks so much,
Meir
On Wed, Sep 11, 2019 at 5:46 PM Fr
Try something like this:
map $urlprefix $urlproxy {
"foo" "https://foohost.foo.com";;
"bar" "http://barhost.blah.com";;
"fie" "https://fie.special.domain.com/blubb";;
default "https://standard.com";;
}
[...]
location ~ "^/(?[^/]+)(?/.*)$" {
[...]
proxy_pass "$urlproxy$urlsuffix$is_
uot;location"s:
> https://yyy.com/bla/aa/er
> if $1 == bla proxy pass to http://xxx.com/aa/er
> if $1 == vv proxy pass to http://ccc.com/aa/er
"/name/" == "/bla/"; "/remote/" == "/".
"/name/" ==
Hello,
I have tried to do the following but couldn't pull it out.
Maybe you will have a good idea as I am not an expert.
I would like to proxy pass to different proxies based on the first part of
a URI.
I would also like to pass the message to the proxy without the first part
of the UR
On Fri, May 24, 2019 at 08:54:23PM +0800, Sathish Kumar wrote:
Hi there,
> Server1: 2.2.2.2 - abc.domain.com, Port 443
>
> Server2: 1.1.1.1 - def.domain.com and def.abc.com - Port 443
That suggests that your back-end server is running more than one https
server on the same IP:port.
Does it use
Hi Francis,
All the requests are processing successfully but its logging to incorrect
access log.
Server1: 2.2.2.2 - abc.domain.com, Port 443
Server2: 1.1.1.1 - def.domain.com and def.abc.com - Port 443
On Fri, May 24, 2019, 8:44 PM Francis Daly wrote:
> On Fri, May 24, 2019 at 09:23:44AM +
On Fri, May 24, 2019 at 09:23:44AM +0800, Sathish Kumar wrote:
Hi there,
I am not certain what server_name values correspond to what IP addresses
or ports used; and I am not certain what nginx servers use ssl and what
ones don't.
If you don't get an answer to your question, perhaps it will be wo
Hi All,
I have now tried to use FQDN but still same issue.
server 1
server_name abc.com;
access_log /var/log/nginx/abc.access.log;
error_log /var/log/nginx/abc.error.log warn;
location /abc {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $p
Hi Team,
Please ignore my previous email. Kindly check the below config and suggest
me a solution.
server 1
server_name abc.com;
access_log /var/log/nginx/abc.access.log;
error_log /var/log/nginx/abc.error.log warn;
location /abc {
proxy_set_header X-Real-IP $remote_addr;
Hi Team,
I am already setting below headers.
server 1
server_name abc.com;
access_log /var/log/nginx/abc.access.log;
error_log /var/log/nginx/abc.error.log warn;
location /abc {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forw
Hi Rozitis,
Thanks for your reply.
On Thu, May 23, 2019, 10:58 PM Reinis Rozitis wrote:
> > Instead of IP address, if we use FQDN with https, do we have to validate
> the SSL certificate on Proxy_Pass?.
>
> By default the certificate validation is turned off (and nginx just uses
> the ssl fo
> Instead of IP address, if we use FQDN with https, do we have to validate the
> SSL certificate on Proxy_Pass?.
By default the certificate validation is turned off (and nginx just uses the
ssl for traffic encryption).
If needed you can enable it with proxy_ssl_verify on; (
http://nginx.org/e
Hi Team,
Currently, we are using the below config to route the requests from one
server to another backend server.
Server1
location /abc {
proxy_pass https://1.1.1.1/abc;
}
Server 2 (1.1.1.1)
location /abc {
proxy_pass http://127.0.0.1:/abc;
}
Instead of IP address, if we use FQDN with ht
Hi,
Currently we are using upstream check module to check the health of
each upstream.
I want to know whether there's a module to get the number of active
connections per proxy pass.
/abc --- how many active connections
/xyz --- how many active connections
Regards,
Lahiru Prasad.
Post
Hi,
Currently we are using upstream check module to check the health of
each upstream.
I want to know whether there's a module to get the number of active
connections per proxy pass.
/abc --- how many active connections
/xyz --- how many active connections
Regards,
Lahiru P
Hi everyone,
I've tree different jenkins machine , for serving behing the NGINX.
My sample nginx file shown as below . I have tree different file each
machine .
server {
listen 80;
server_name "";
access_log off;
location /USERNAME {
proxy_pass http:/
Hello Team,
Need your help actually we are passing docker private registry calls from
the nginx conf using reverse proxy .
but here one of things we need to trap like when docker manifest/blob
downloads are successful and error we have to report to the some pcf service
running somewhere .
using er
Hello Meph,
Not, exactly this has SSL.
Here's a suggestion configuration:
nginx.conf:
--
user nginx;
worker_processes auto;
error_log /var/log/nginx/cloudssl.diakont.it.error.log;
events {
work
Hello Goce,
but with this configuration, can I disable SSL in target Nginx?
Thanks in advance.
Meph
On 8 May 2018 at 09:34, Joncheski wrote:
> Hello Meph,
>
> In configuration file "cloud.diakont.it.conf":
> - "ssl_certificate" please set path of only public certificate of server
> (cloud.diak
Hello Meph,
In configuration file "cloud.diakont.it.conf":
- "ssl_certificate" please set path of only public certificate of server
(cloud.diakont.it), and in "ssl_certificate_key" please set path of only
private key of server (cloud.diakont.it).
In configuration file "ssl-params.conff":
- The c
Hello Goce,
thank you very much for you answer. I attached files you requested at this
email.
On 4 May 2018 at 13:34, Joncheski wrote:
> Hello Meph,
>
> Can you send the other configuration file ( ssl-params.conf and
> cloud.diakont.it.conf ) which you call in this configuration.
> And in "loc
Hello Meph,
Can you send the other configuration file ( ssl-params.conf and
cloud.diakont.it.conf ) which you call in this configuration.
And in "location /" , you need to enter this "proxy_redirect default;"
because this is default argument.
Best regards,
Goce Joncheski
Posted at Nginx Forum:
Hello everyone,
I am using Nginx in a production environment since some years, but I am
almost a newbie with SSL certificates and connections. A the moment I have
a configuration with two levels:
1. A first level Nginx that operate as load balancer
2. Two second level Nginx: the first host a web s
Hello!
> With this configuration, only works the URL with a trailing slash
> "http://systems.ltda.local/phpmyadmin/"; and not
> "http://systems.ltda.local/phpmyadmin”.
What do you mean of it doesn’t work with the URL without the trailing
slash?
Does the backend Apache server just returns 404?
Th
Hi
create 4 separate upstreams for each of these apaches,
create 4 locations, within each location block proxy_pass to appropriate
upstream.
avoid using sub_filters, they are mostly forrewriting bodies of html documents.
http {
# for phpadmin
upstream phpadminup {
server phpadmin.ltda.loca
Hi!
I'm new to nginx and I need you help do setup the way I need.
The server is nginx-1.12.2-1.el7.x86_64 (rpm) on CentOS 7.2 64.
My scenario is: all my systems are http://systems.ltda.local/NAME
(systems.ltda.local is nginx as reverse proxy)
The nginx must rewrite (or proxy, or whatever) to 4 Ap
Safari/537.36' -H 'Accept: */*' -H 'Referer:
https://livetvhd.net/video/jeunesse/space-toon-live-streaming-en-direct' -H
'X-Requested-With: ShockwaveFlash/25.0.0.127' -H 'Connection: keep-alive'
--compressed | ffplay -
now i was trying to use pr
On Tue, May 24, 2016 at 10:17:55AM -0400, hbajaj2 wrote:
Hi there,
> I need to use proxy_pass directive for the upstream server which has
> query_string, which allows it to authenticate to the upstream server. How
> can i ensure that query string is pass-on with every request that goes via
> this
I need to use proxy_pass directive for the upstream server which has
query_string, which allows it to authenticate to the upstream server. How
can i ensure that query string is pass-on with every request that goes via
this reverse proxy.
My simplified configuration is
location /RetrieveProductWS
proxy pass rule
On Wed, Apr 06, 2016 at 06:58:07PM +0530, Roni Baby wrote:
Hi there,
> Yes the destination Url [https://www.xys.org/static/js/widget.js] is
> working perfectly alone Why it tried locally? I used proxypass rule
> for it. If I wanted to do anything to enable proxy capabil
On Wed, Apr 06, 2016 at 06:58:07PM +0530, Roni Baby wrote:
Hi there,
> Yes the destination URl [https://www.xys.org/static/js/widget.js] is working
> perfectly alone
> Why it tried locally? I used proxypass rule for it. If I wanted to do
> anything to enable proxy capability in my Nginx?
Read ht
-boun...@nginx.org] On Behalf Of Anoop Alias
Sent: 06 April 2016 18:51
To: Nginx
Subject: Re: Help for nginx proxy pass rule
Are you sure the location is working?
abc.com/static/js/widget.js" failed (2: No such file or directory) - I think
its trying to access that file locally and not via the
https://www.abc.com; We are using Nginx
> as the web server for this site. I wanted to create a proxy pass rule like
> this
>
>
>
> https://www.abc.com/static/js/widget.js will be load from
> https://www.xys.org/static/js/widget.js without changing URL
>
>
>
>
HI,
We have a WordPress site named it as https://www.abc.com; We are using Nginx
as the web server for this site. I wanted to create a proxy pass rule like
this
https://www.abc.com/static/js/widget.js will be load from
https://www.xys.org/static/js/widget.js without changing URL
Here
Hello!
On Sun, Oct 25, 2015 at 02:38:33PM -0400, agrisv wrote:
[...]
> Maybe something with ssl renegotiation in nginx???
SSL renegotiation is completely forbidden in nginx as of now. If
you are trying to connect to a server which requires renegotiation -
it won't work.
--
Maxim Dounin
htt
No i think it was something with favicon request..
now i always get getaway timeout
1. also try from different server with nginx 1.8 nothing helped..
proxy_ssl_verify off;
proxy_ssl_certificate /etc/nginx/ssl/test/test.pem;
proxy_ssl_certificate_key /etc/nginx/ssl/test/test_key.pem;
proxy_pas
agrisv Wrote:
---
> *4622 access forbidden by rule, client: 10.2.6.1
> IIS side:
> 500 0 64 119971
>
> So i hope someone could know why?
Maybe the "access forbidden" is the issue?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,
Nginx 1.9.5 (linux Centos7)--> MS IIS 8.5
So i try to use nginx as client revers proxy for IIS where need client
certificate authentication at IIS level.
nginx:443->>IIS:443+client certificate authentications.
example location proxy pass
also here are commented commands which i try.
Hi,
If I have upstream running websockets on port1 and non websockets on port2,
is it possible to configure nginx reverse proxy to proxy_pass to port1 once
it sees websockets incoming?
Thanks
Frank
___
nginx mailing list
nginx@nginx.org
http://mailman.n
Hi All,
I am new to Nginx and currently we are using Apache which is having both
Proxy pass and AJP configuration. When setup long back we found AJP performs
faster than http.
Now as we are moving to Nginx, so just checking the comparison of AJP V/s
Http when setup with Nginx. Our app server is
J, It's not a misconfigured device, that is how fortinet does it's
webportal vpn access to internal websites. Talked to fortinet, that's how
it works. Francis, I will look at that. Thanks for your help!
On Fri, May 30, 2014 at 12:59 PM, Francis Daly wrote:
> On Fri, May 30, 2014 at 11:55:32A
On Fri, May 30, 2014 at 11:55:32AM -0400, bwellsnc wrote:
Hi there,
> This is the issue. I am using a fortigate device to protect my network and
> I want to use the https connection in the web portal to access my Jira
> instance. The problem is that jira always expects a
> https://jira.internal
On 30 May 2014 16:55, bwellsnc wrote:
> Hello everyone, I have an interesting issue. I am using nginx 1.6.0 to
> proxy back to my Jira instance. This is working great within my network.
> This is the issue. I am using a fortigate device to protect my network and
> I want to use the https connec
Hello everyone, I have an interesting issue. I am using nginx 1.6.0 to
proxy back to my Jira instance. This is working great within my network.
This is the issue. I am using a fortigate device to protect my network and
I want to use the https connection in the web portal to access my Jira
instan
that the site isn't
> using ssl so that could cause proxy pass fails.
[...]
> $ /opt/nginx-1.6.0/sbin/nginx -V
> nginx version: nginx/1.6.0
> built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
> configure arguments: --prefix=/opt/nginx-1.6.0
> --conf-path=/etc/nginx/nginx.conf --
I want to authorize requests using a remote server that is using ssl. When
I make requests with https I get nginx errors but when I use http it works.
Now that I am writing this I'm thinking the issue is that the site isn't
using ssl so that could cause proxy pass fails.
Thanks in advan
> -Original Message-
> From: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] On Behalf Of
> Maxim Dounin
> Sent: Tuesday, February 18, 2014 4:13 AM
> To: nginx@nginx.org
> Subject: Re: Proxy pass location inheritance
>
> Hello!
>
> On Mon, Feb 17, 2014 at 09
oun...@nginx.org] On Behalf Of
Maxim Dounin
Sent: Tuesday, February 18, 2014 4:13 AM
To: nginx@nginx.org
Subject: Re: Proxy pass location inheritance
Hello!
On Mon, Feb 17, 2014 at 09:26:56PM +, Brian Hill wrote:
> So there is no precedence given to nested regex locations at all? What
>
Hello!
On Mon, Feb 17, 2014 at 09:26:56PM +, Brian Hill wrote:
> So there is no precedence given to nested regex locations at
> all? What value does nesting provide then?
Nesting is to do thins like this:
location / {
# something generic stuff here
location ~ \.jpg$ {
an option.
From: nginx-boun...@nginx.org [nginx-boun...@nginx.org] on behalf of Maxim
Dounin [mdou...@mdounin.ru]
Sent: Monday, February 17, 2014 9:30 AM
To: nginx@nginx.org
Subject: Re: Proxy pass location inheritance
Hello!
On Mon, Feb 17, 2014 at 05:15:
Hello!
On Mon, Feb 17, 2014 at 05:15:45PM +, Brian Hill wrote:
> So it sounds like my only solution is to restructure the locations to avoid
> the original match in /. I don't have access to the servers again until
> tomorrow, but I'm wondering if something like this would work:
>
> locati
d / location break things?
From: nginx-boun...@nginx.org [nginx-boun...@nginx.org] on behalf of Maxim
Dounin [mdou...@mdounin.ru]
Sent: Monday, February 17, 2014 5:13 AM
To: nginx@nginx.org
Subject: Re: Proxy pass location inheritance
Hello!
On Mon, Feb 17,
Hello!
On Mon, Feb 17, 2014 at 08:55:02AM +, Brian Hill wrote:
> Close, it's more akin to:
>
> location / {
> location ~ regex1 {
> # regex inside /
> }
> }
>
> location ~ regex2 {
> location ~ regex3 {
> # regex inside regex2
>
On Mon, Feb 17, 2014 at 08:55:02AM +, Brian Hill wrote:
Hi there,
> Regex 1 & 3 look for the same file types and are identical, but contain
> different configurations based on the parent location. Currently, regex1 is
> catching all matches, irrespective of the parent location.
>
> If I un
Is this correct, or will NGINX always give priority to the / location?
From: nginx-boun...@nginx.org [nginx-boun...@nginx.org] on behalf of Maxim
Dounin [mdou...@mdounin.ru]
Sent: Friday, February 14, 2014 4:19 AM
To: nginx@nginx.org
Subject: Re: P
Hello!
On Thu, Feb 13, 2014 at 06:43:08PM +, Brian Hill wrote:
> Hello, we are using NGINX to serve a combination of local and
> proxied content coming from both an Apache server (mostly PHP
> content) and IIS 7.5 (a handful of third party .Net
> applications). The proxy is working properl
Hello, we are using NGINX to serve a combination of local and proxied content
coming from both an Apache server (mostly PHP content) and IIS 7.5 (a handful
of third party .Net applications). The proxy is working properly for the pages
themselves, but we wanted set up a separate location block fo
Nevermind. I found my error.
I was doing kill -HUP and had a typo in my config.
I didnt notice until I checked the config.
Thank you its working as expected.
Sorry for the noise.
On 12/13/13 12:48 PM, Maxim Dounin wrote:
Hello!
On Fri, Dec 13, 2013 at 12:25:02PM -0500, david wrote:
Not
understanding is that its getting sent to the @wsgi app thats
what is issuing the redirect and using the proxy pass address to rewrite
the uri.
location @wsgi {
include uwsgi_params;
uwsgi_pass unix://tmp/spften.sock;
}
location @store {
include
Hello!
On Fri, Dec 13, 2013 at 12:25:02PM -0500, david wrote:
> Not sure if this is my configuration causing this symptom or openresty.
>
> Here is whats happening.
>
> If I try to access the store "admin"
> via: http://mysite.com/admin
>
> I am getting proxy redirects sent to my browser and s
Not sure if this is my configuration causing this symptom or openresty.
Here is whats happening.
If I try to access the store "admin"
via: http://mysite.com/admin
I am getting proxy redirects sent to my browser and seeing
127.0.0.1:8000/admin in my address bar.
Not exactly the result I was l
On Fri, Oct 25, 2013 at 01:25:10PM +0200, Philipp Kraus wrote:
> Am 25.10.2013 um 10:01 schrieb Francis Daly :
Hi there,
> > https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy
> > looks like it may have useful information.
>
> I have used this how to, but I cannot
1 - 100 of 111 matches
Mail list logo