Questions tagged [nginx-status]

11 questions
8
votes
2 answers

NGINX Reverse Proxy and Access-Control-Allow-Origin issue

I'm configuring an NGINX Reverse Proxy. On the browser I go to: client url: https://www.hollywood.com Then the web page above needs to do requests to: server url: https://server.hollywood.com/api/auth/login This is the configuration corresponding…
6
votes
1 answer

nginx ssl_trusted_certificate directive not working

When I try to start the nginx server with this configuration I get an error nginx: [emerg] no ssl_client_certificate for ssl_client_verify My Configuration looks like # HTTPS server server { listen 4443; server_name localhost; …
user1918858
  • 1,202
  • 1
  • 20
  • 29
4
votes
1 answer

Cant find interface eth0 for vrrp_instance VI_1

Currently, I am trying to run KEEPALIVED with NGINX on my machine. My use-case includes monitoring the failover behavior for NGINX server because any one instance can go down and I need to have other instance alive to serve the incoming…
2
votes
0 answers

nginx wildcard subdomains to different roots

i want to support all level subdomains to "domain.com" for my configuration. That's possible with: server_name "~^(?.+)\.domain\.com$"; My root looks like this: set $subDirectory subdomains/$sub/; set $root…
2
votes
3 answers

Monitoring nginx (500's) with telegraf

I'd like to understand what my nginx instance is returning and who it's asking to handle requests. What fraction of my queries get handled by rails, what fraction are handled directly by nginx, what fraction are heading off to nginx_status,…
1
vote
2 answers

Return 200 by Nginx without serving a file

I wrote this /etc/nginx/conf.d/apply.conf and started nginx. server { location = /hoge { return 200; } } but the curl command fails. curl localhost:80/hoge It says 404 Not Found
Keke
  • 71
  • 1
  • 2
  • 5
0
votes
0 answers

In NGINX, Arabic URLs do not redirect to 410 pages (status code) but English URLs redirect to 410 pages correctly

We have a website and a website with Arabic and English addresses. We need to redirect some URLs with a 404 status code to a 410 status code in the NGINX web service (due to SEO). We configured the NGINX web service and added Arabic and English…
0
votes
0 answers

server status configuration in nginx

I have recently replaced my apache web server with nginx I want to know how can I write below statements for nginx server status SetHandler server-status Order deny,allow Deny from all Allow…
devops
  • 1,121
  • 5
  • 20
  • 50
0
votes
0 answers

Nginx container is not getting started

I build the nginx container image successfully. but its not getting started. I went inside the image using sudo docker run -it imageid /bin/sh and tried to up the nginx container. Find the script used to start the nginx below : Entrypoint.sh…
0
votes
1 answer

nginx status page configuration

As a test, I enabled the nginx status page as per these articles server { listen 80; #listen on any host name server_name _; location /status { stub_status on; access_log off; } access_log …
Jeremy
  • 44,950
  • 68
  • 206
  • 332
-1
votes
1 answer

Hide Server name NGINX on windows Environment

I am using NGINX. I don't want to disclose my server Identity. For that, I research many sites and found to hide the version of NGINX on Windows Environment. Command on windows:server_tokens off; Now How to hide or modify the Name of server i.e…
Ankit
  • 951
  • 1
  • 9
  • 29