Comments (1)
Hi @lancergon sorry for the late response. I am curious if you still have not figured it out. I wanted to ask if you had ever managed to have something working with this config but without jdomain entirely. I could be wrong but I spot some peculiarities with your config.
Firstly, you use server_name http://proxy;
which has two problems. Firstly, you shouldn't include the protocol scheme in your server_name
directive and secondly, I don't see you actually using a host header of proxy
when you make your connection. So I don't believe that nginx will select this server block even if you connect to nginx on port 80.
The next thing I noticed has to do with your location blocks. It looks to me like the connection you're trying to establish maps to your second location block, but this location block is defined to have the prefix /api/notifications_alert
while you're requesting /test_arch/api/notifications_alert
. Forgive me if I'm missing some details here but it seems that location won't match.
What's more, even if your request was processed by that location block, I don't see how it would handle the request. I think you may have a typo in the configuration, as you define a variable $test_notifications_alert
, but proxy_pass
to a variable $test_arch_notifications_notifications_alert
which is not defined anywhere else in the config you've included here.
I'm going to mark this issue closed since it's been open a long time without follow up (sorry again about that). Comment back if you have concerns or want it reopened.
from ngx_upstream_jdomain.
Related Issues (20)
- Build failed with openssl 1.1.1g
- Add blocking mode
- Evaluate script or complex values in domain HOT 2
- Make sure alternative server is up in logic for strict
- Test against newer health check module
- Potential issue with jdomain - keep seeing requests sending to old upstream after DNS update HOT 10
- Not able to resolve the VPC endpoint of AWS ES service HOT 4
- Use shared memory HOT 5
- Change DNS query trigger to timer event basis HOT 1
- When using the DOMAIN UPSTREAM module, the VTS Module UPSTREAM counter is all 0.
- num peerps does not match max_ips HOT 4
- Supported Nginx Versions HOT 1
- Support for additional LB options HOT 10
- error: missing initializer for field ‘sin_family’ of ‘struct sockaddr_in’ HOT 7
- DNS resolution state bug HOT 5
- Allow nginx startup without doing initial DNS lookup HOT 2
- Improve `least_conn` test case
- Reporting a vulnerability HOT 1
- Stale DNS Lookup Issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx_upstream_jdomain.