P
P
prizrak50332015-06-03 22:38:41
JavaScript
prizrak5033, 2015-06-03 22:38:41

Why does nginx download a page when logging into a domain?

Hello, this is the problem. Raised a server on nginx. when I go through chrome to the ip of the server where it should be welcom to nginx, it downloads the page! through the donkey (IE) all the rules, what could be the problem?
I attach the nginx.conf config

location / {
             root html;
             index index.html index.htm
        }

         error_page   500 502 503 504  /50x.html;

         location = /50x.html {
             root   html;
         }

         include /usr/local/nginx/conf/cameras_http_locations.conf;
     }
}

rtmp {
     access_log /var/log/nginx/rtmp_access.log;
     server {
         listen 1935;
         ping 30s;

         notify_method get;
         include /usr/local/nginx/conf/cameras_rtmp_applications.conf;
     }
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
0
0xD34F, 2018-08-03
@FitTech

Object.values([ ...hours, ...first ].reduce((acc, n) => (acc[n.hour] = n, acc), {}))

for second - similarly

N
Nikolai Bryansky, 2015-06-03
@NukerPsych

Somewhere with MIME ran into?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question