Article 5C6WW [SOLVED] Nginx Reverse Proxy Issue

[SOLVED] Nginx Reverse Proxy Issue

by
hesisaboury
from LinuxQuestions.org on (#5C6WW)
Hi, here is my nginx reverse proxy , the issue is the "location /mon/" is not working,
server {
listen 80;
server_name log.mydomain.com;
return 301 https://$host$request_uri;
}

server {
listen 443 ssl http2;
server_name log.mydomain.com;
ssl_certificate /etc/letsencrypt/archive/mydomain.com/cert1.pem ;
ssl_certificate_key /etc/letsencrypt/archive/mydomain.com/privkey1.pem;

location / {
proxy_pass http://127.0.0.1:5601;
}
location /mon {
proxy_pass http://127.0.0.1:9100;
}
}

Any idea ?
THXlatest?d=yIl2AUoC8zA latest?i=Zx8YKF18ePE:tVFE6ZEq-rw:F7zBnMy latest?i=Zx8YKF18ePE:tVFE6ZEq-rw:V_sGLiP latest?d=qj6IDK7rITs latest?i=Zx8YKF18ePE:tVFE6ZEq-rw:gIN9vFwZx8YKF18ePE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments