1,990 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
31
views
Can't get Nginx to use one module over another
trying to setup NGINX as a forward proxy in my environment. I'm using the https://github.com/chobits/ngx_http_proxy_connect_module as it seems to be what people recommend for handling HTTPS traffic.
I'...
0
votes
1
answer
51
views
Redirect user to subdirectory in nginx based on cookie set earlier through wordpress
I have two wordpress sites installed under two sub-directories of the same domain. Each site is in a different language. English version example.com/en and Spanish example.com/es
These are served by ...
0
votes
1
answer
36
views
Redirect of www and http/s help in nginx [closed]
I've been working to understand nginx more from the configuration side. The thing I'm struggling with the most is primary redirect processes. Between handling the https and www redirects, my head is ...
0
votes
0
answers
23
views
i am not able to require the client to import their certification into nginx for mTLS
i have my backend server on node ts and hosted using docker with a reverse proxy with nginx .. all on ec2 my question is how can i require mTLS encryption from the user if i give him the certification
0
votes
1
answer
48
views
Nginix catch-all domain configuration file serves the default SSL certificate
I am building a domain name management app that handles multiple domain names and serves different landing pages based on the domain name.
I have set up a DNS system that works using PowerDNS, any ...
0
votes
0
answers
116
views
How to configure Nginx to prompt the user to select a client certificate from OS certificate store (e.g., e-Token on macOS/Windows)?
I'm trying to configure Nginx to require and request a client certificate during HTTPS handshake — specifically in a way that prompts the browser to show the user a selection dialog from the Keychain ...
0
votes
0
answers
155
views
NGINX cache always returning MISS in browser although its caching
I am trying to learn caching using nginx to cache my NEXT APIs. This is my
nginx.config
worker_processes 1;
events {
worker_connections 1024;
}
http {
proxy_cache_path /tmp/nginx/cache ...
0
votes
0
answers
127
views
How to exclude http requests for static files from nginx rate limiting
I'm using below nginx block. I want to exclude all requests for js and CSS files from nginx rate limiting. With my below nginx directives, rate limiting is excluded to all files apart from /api route. ...
0
votes
0
answers
22
views
Is VPS a keyword for Nginx conf?
In my Hostinger VPS, I found this in the default pre-configured Nginx, in sites-available :
server{
listen 80;
vps xxxxxx.hstgr.cloud;
The VPS keyword seems to replace the server_name but I ...
0
votes
0
answers
100
views
Forwarding CF-IPCountry Header to Backend with NGINX Ingress and Cloudflare
I’m currently running a GKE cluster with the NGINX Ingress Controller to manage incoming traffic. My domain is proxied through Cloudflare with IP Geolocation enabled, which adds the CF-IPCountry ...
0
votes
1
answer
43
views
SSL certificate for a sub domain showing not secure on a public network
I have multiple NextJs app and some Java backend API services that I deployed on a windows server e.g gigmobilitytest.accionmfb.com, octopustest.accionmfb.com etc. The application are naturally only ...
0
votes
1
answer
80
views
Nginx reverse proxy setup for redirects
I have an website running in https://localhost:7443/__admin. I have nginx running in the same host in https://localhost:8443.
I want the users to launch the webapp with the url https://localhost:8443/...
0
votes
0
answers
89
views
Nginx : Invalid condition "yes" in nginx.conf
I have an environment variable set as
vod_enable_encryption = yes
which I'm attempting to check using an If block in nginx.conf.
Nginx isn't able to resolve the condition and throwing the following ...
0
votes
0
answers
74
views
nginx wont proxy_pass to service on 127.0.0.1:8080 with ssl
I am trying to proxy_pass to a local service (fossil scm) on http://127.0.0.1:8080.
http://scm.domain.de and https://scm.domain.de returns ERR_CONNECTION_REFUSED.
https://scm.domain.de:8080 returns ...
0
votes
0
answers
62
views
How do I return a response from the destination server in case of an error in Nginx?
I need to always return in case of errors. 400, 401, 403, 404, 500... my html pages with errors if the response is from the destination server is text/html, otherwise I can return the server's ...