简体   繁体   中英

Nginx screen appering on first request to the domain

The first requests in the browser to this following API's are appering the Nginx screen. Goeat Api GympointApi
Idk what is wrong on my proxy configuration

    server {
        listen 80;

        server_name gympoint.lauradeveloper.com.br;

        location / {
                proxy_pass http://localhost:3333;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header Host $host;
                proxy_cache_bypass $http_upgrade;
        }


}

server {
        listen 80;
        server_name goeat.lauradeveloper.com.br;

        location / {
                proxy_pass http://localhost:4000;
        }


}

It's working completely fine but on the first request to the browser, shows this nginx screen. Looking my proxy configuration, does anyone know what i'm did wrong?

I kind solved this. I had to put these same options related to proxy on the other server config.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM