Can't get access to nextcloud

Hello.

I have a problem, I put my nextcloud server up
But are having problems accessing it. from browser.

When I try and come at it via the web page, I can not.

I know that ports 80 and 443 are open

I am running with https that I can not get to work. It does not give me access.

locally or from internet.

cloud.conf  sites-available

<VirtualHost *:80>
ServerName cloud.jedb.dk
Redirect / https://cloud.jedb.dk
</VirtualHost>

<VirtualHost *:443>

Header add Strict-Transport-Security: "max-age=15768000;includeSubdomains"
SSLEngine on

### YOUR SERVER ADDRESS ###

ServerAdmin admin@cloud.jedb.dk
ServerName cloud.jedb.dk

### SETTINGS ###

DocumentRoot /var/www/nextcloud/

<Directory /var/www/nextcloud/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
Satisfy Any
</Directory>

Alias /nextcloud "/var/www/nextcloud/"

<IfModule mod_dav.c>
Dav off
</IfModule>

SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud


### LOCATION OF CERT FILES ###

SSLCertificateChainFile /etc/letsencrypt/live/cloud.jedb.dk/chain.pem
SSLCertificateFile /etc/letsencrypt/live/cloud.jedb.dk/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cloud.jedb.dk/privkey.pem

</VirtualHost>

Writing What the lack of info.
.htaccess or config.php

sorry if not completely writing really I am Danish and uses translate

Regards Snowi

What is the status of your apache server? is it up? The redirect option is not necessary.

When you try to access it via port 80 what do you get? How about port 443?
if you still have the test index page under /var/www/html/index.html can you access it?
I believe your server is not even up, partially due to missconfiguration.

It has been tests with normal http. works
But then I should have SSL / https on so. could not get into the more

disable your current site and create a new one with this info:

Listen 443
<VirtualHost *:443>
<Directory /var/www/nextcloud/>
Options FollowSymLinks
AllowOverride All
Require all granted

Dav off

ServerAdmin admin@cloud.jedb.dk
ServerName cloud.jedb.dk

SSLEngine on

LOCATION OF CERT FILES

SSLCertificateChainFile /etc/letsencrypt/live/cloud.jedb.dk/chain.pem
SSLCertificateFile /etc/letsencrypt/live/cloud.jedb.dk/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cloud.jedb.dk/privkey.pem

Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"

Enable the site and let me know if you get any errors