V
V
Vladislav Balabanovich2016-03-09 23:21:17
Nginx
Vladislav Balabanovich, 2016-03-09 23:21:17

The server requires authorization when trying to open the site, how to fix it?

There is a deployed Ubuntu 14 on DO, nginx is installed there, several sites are spinning - everything works. But the newly created wordpress site cannot be entered, it requires authorization:
xAe05QhYZZVq2y.jpg
All sites were installed through the service - serverpilot.io - which simplifies the installation of wp sites on DO. This service works on a server through its user. Before creating a new site (which the server does not open now), I climbed onto the server as root and tried to manually create the necessary directories and deploy wp, then deleted everything and created it through the service that was used to create all the other sites that are now work fine.
serverpilot deploys everything in the /srv/users/serverpilot/apps/ directory
And yet - there was a reset of root access to DO in the admin panel
PS The issue is resolved, it was in the site settings on the side of serverpilot.io. Recommendation - do not use such shim services, it is much easier to work via ssh

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton B, 2016-03-09
@bigton

nginx.org/ru/docs/http/ngx_http_auth_basic_module.html
Find the nginx site config and remove the necessary lines

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question