![]() To solve this issue and to be able to start the nginx. It clearly says that there is some problem with the listening address and the Nginx configuration test is failing. Mar 18 19:17:18 nginx.vps nginx: nginx: configuration file /etc/nginx/nf test failed The full error is given below: Mar 18 19:17:18 nginx.vps nginx: nginx: socket() :80 failed (97: Address family not supported by protocol) This issue is occurring after a fresh installation of Nginx, after starting the rvice. Now in the next few paragraphs, we are going to dig deeper into the most common Nginx web server errors. ├─60832 nginx: master process /usr/sbin/nginx -g daemon on master_process on Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Fri 18:28:46 UTC 2min 30s ago rvice - A high performance web server and a reverse proxy server.You should receive the following output: sudo systemctl status nginx To check the status of the Nginx service, execute the following line: sudo systemctl status nginx Once, Nginx is installed start it and enable it with the commands below: sudo systemctl start nginx & sudo systemctl enable nginx sudo apt update -y & sudo apt upgrade -y Install Nginx Web Serverīefore we start with explaining the Nginx web server errors we are going to install it with the command below: sudo apt install nginx -y It is always recommended before we do anything on our server, to update the packages to their latest versions available. User privileges: root or non-root user with sudo privileges.Also, it is of note that wherever you put your configuration. A native nginx distributed package does NOT include such directories. So where is the problem For comparison, here is nginx-configuration for Nextcloud 19.x and 21. But when I try to start NC-server with NC21-config, I always get 404: Not found. ![]() Fresh install of Ubuntu 20.04, CentOS, AlmaLinux or Debian OS When access the url 47.91.152.99/test, I want nginx server access the root directory /usr/share/nginx/public. 404: Not found I have put back the old NC19-config, and NC starts (albeit with those two warning messages).Address family not supported by protocol. ![]()
0 Comments
Leave a Reply. |