Hello,
I just finished the installation, the login page is not displayed.
he has a 404 error
The url is https://www.claude.mail-tours-libre.org/index.php/login
an idea?
Thank you for your answers
404 has permission problems. Could be that the folder and files are not readable by the webserver user.
Thank you for your answer.
Access rights are correct. the user www:data accesses the whole folder without problems
What is the address that should be used?
https://www.claude.mail-tours-libre.org/index.php…
404 is “file not found”.
Please post nginx-details and “way” to nextcloud.
Excuse me, but I don’t understand the question.
You want the nginx config?
is what “way” to nextcloud.
I don’t speak great English
You use the nginx webserver. You probably changed the configuration to run Nextcloud.
Are you sure:
sudo -u www-data ls -la /path/to/nextcloud
yes for right access
stef@srv-info-part:/etc/proftpd/conf.d$ sudo -u www-data ls -la /var/www/html/nextcloud/
total 164
drwxr-xr-x 14 www-data www-data 4096 juin 21 21:03 .
drwxr-xr-x 9 root root 4096 juin 20 18:59 ..
drwxr-xr-x 33 www-data www-data 4096 janv. 17 14:50 3rdparty
drwxr-xr-x 43 www-data www-data 4096 janv. 17 14:47 apps
-rwxr-xr-x 1 www-data www-data 15752 janv. 17 14:46 AUTHORS
drwxr-xr-x 2 www-data www-data 4096 juin 21 22:20 config
-rwxr-xr-x 1 www-data www-data 3910 janv. 17 14:46 console.php
-rwxr-xr-x 1 www-data www-data 34520 janv. 17 14:46 COPYING
drwxr-xr-x 23 www-data www-data 4096 janv. 17 14:50 core
-rwxr-xr-x 1 www-data www-data 5048 janv. 17 14:46 cron.php
drwxr-xr-x 4 www-data www-data 4096 juin 18 23:57 data
-rwxr-xr-x 1 www-data www-data 2627 juin 18 23:52 .htaccess
-rwxr-xr-x 1 www-data www-data 156 janv. 17 14:46 index.html
File conf virtual host:
server {
root /var/www/html/nextcloud;
index index.php index.html;
server_name www.claude.mail-tours-libre.org;
location / {
try_files $uri $uri/ =404;
}
# pass PHP scripts to FastCGI server
#
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#
# # With php-fpm (or other unix sockets):
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
}
location ~ /\.ht {
deny all;
}
access_log /var/log/nginx/www.claude.mail-tours-libre.org-access.log;
error_log /var/log/nginx/www.claude.mail-tours-libre.org-error.log;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/www.claude.mail-tours-libre.org/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/www.claude.mail-tours-libre.org/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = www.claude.mail-tours-libre.org) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name www.claude.mail-tours-libre.org;
listen 80;
return 404; # managed by Certbot
I tested your website again.
Do you really want
www.claude.mail-tours-libre.org
and not
claude.mail-tours-libre.org
for your Nextcloud? If you want the version without “www” you must change some thinks e.g. Lets Encrypt and some configurations i think.
In your actual version http (www) is correct redirect to https (www).
Also
www.claude.mail-tours-libre.org
is redirected (302) to
https://www.claude.mail-tours-libre.org/index.php/login
That is only possible if the server can read /var/www/html/nextcloud/.htaccess .
Where are the file “index.php”, “remote.php” and other files ? Are they missing? Check it again and perhaps post the output to https://pastebin.com