Giter Site home page Giter Site logo

Comments (2)

yaoweibin avatar yaoweibin commented on July 20, 2024

What's the result when you access the backend server like this:

 curl http://waz-web2.mydomain.local/servermonitor.aspx

ps: the interval 300ms is too short, you could specify a longer one.

from nginx_upstream_check_module.

yanivg11 avatar yanivg11 commented on July 20, 2024

Hi Yaoweibin,
Thank you for your reply.
I modified the interval time in my trying to get this working,
Now it’s back to:

upstream cluster {

        # simple round-robin
        server waz-web2.mydomain.local;

        check interval=3000 rise=2 fall=5 timeout=1000 type=http;
        check_http_send "GET /servermonitor.aspx HTTP/1.0\r\n\r\n";
        check_http_expect_alive http_2xx http_3xx;
}


gzip  on;

server {
    listen       80;
    #server_name  www.mydomain.com;

    #charset koi8-r;

    access_log  logs/host.access.log  main;

    location / {
            proxy_pass http://cluster;
    }

           location /status {
            check_status;

            access_log   on;
    }

Here’s the result for the CURL command:

[root@WAZ-NGINX5 ~]# curl http://waz-web2.mydomain.local/servermonitor.aspx
Arabacht1234[root@WAZ-NGINX5 ~]#

You can see that the file is valid and giving the text inside it.
cant figure out what i'm doing wrong.

Thank you for your help, Yaniv.

from nginx_upstream_check_module.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.