Nginx - 404 Not Found

Nginx - 404 Not Found

Hi,

I installed Nginx on Ubuntu Server and set up a virtual host according to the instructions for nextcloud (link).

The login screen will appear, but after filling in the data I will get an error:

WEB
Nginx after login nextcloud
404 Not Found
nginx/1.14.0 (Ubuntu)


LOG
tail /var/log/nginx/error.log
09:53:06 [error] 17841#17841: *17 open() "/var/www/cloud/login" failed (2: No such file or directory), client: 192.168.4.21, server: ccccccc, request: "GET /login HTTP/1.1", host: "ccccccccc"



REPLY


Good day,

try to fix Nginx - 404 Not Found error in virtualhost:

vim /etc/nginx/sites-enabled/cloud
Then edit try_files in the file:
try_files $uri $uri/ /index.php?q=$uri&$args;
sudo systemctl reload nginx

Související obsah

linux

bash

terminal

webserver

nginx

nextcloud

Komentáře

Vaše reakce na Nginx - 404 Not Found

Reference

Podívejte se na naše reference

Prohlédnout

Aplikace

Podívejte se na naše aplikace

Prohlédnout

Co umíme?

Podívejte se co umíme

Prohlédnout

Co umíme?

Vytváříme sofistikované aplikace pro náročné

Od webových aplikací přes android až po převodové můstky či složité informační systémy.

Podívejte se k nám

Máte ještě čas? Podívejte se na další rubriky

Tento web používá soubory cookie. Dalším procházením tohoto webu vyjadřujete souhlas s jejich používáním.. Více informací zde.