rodofrn
Contributor
- Joined
- Apr 13, 2016
- Messages
- 180
Hello, after following this DETAILED GUIDE I ran into some issues at the end. I was able to log into the nextcloud, and set up and stuff, my problem is when setting up SSL.
I was able to create the certificate, and I checked with certlabs and it gave me an A+. But, when I go to the local IP, or the domain.com, i get : "This page isn't working blank page." This is my .conf file:
I have put in MYDOMAIN in my reply for security measure :) Also, instead of nextcloud 10, i installed 12 (i hope there are no issues?)
What is going on? Its like not pointing to the nextcloud server. Also, I have forwarded 80 and 443 on the router to the nextcloud jail IP. Any ideas what is wrong?
I was able to create the certificate, and I checked with certlabs and it gave me an A+. But, when I go to the local IP, or the domain.com, i get : "This page isn't working blank page." This is my .conf file:
Code:
<VirtualHost *:80> DocumentRoot "/usr/local/www/apache24/data/nextcloud" ServerName MYDOMAIN.ddns.net RewriteEngine on RewriteCond %{SERVER_NAME} =MYDOMAIN.ddns.net RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent] #ErrorLog ${APACHE_LOG_DIR}/error.log #CustomLog ${APACHE_LOG_DIR}/access.log combined <Directory /usr/local/www/apache24/data/nextcloud/> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /usr/local/www/apache24/data/nextcloud SetEnv HTTP_HOME /usr/local/www/apache24/data/nextcloud Satisfy Any </Directory> </VirtualHost> <VirtualHost *:443> ServerAdmin MYEMAIL ServerName MYDOMAIN.ddns.net DirectoryIndex index.php DocumentRoot /usr/local/www/apache24/data/nextcloud SSLCertificateFile /usr/local/etc/letsencrypt/live/freecloudnas.ddns.net/fullchain.pem SSLCertificateKeyFile /usr/local/etc/letsencrypt/live/freecloudnas.ddns.net/privkey.pem SSLEngine on # Intermediate configuration, tweak to your needs SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AE$ SSLHonorCipherOrder on SSLCompression off SSLOptions +StrictRequire <Directory /usr/local/www/apache24/data/nextcloud> AllowOverride all </Directory> <IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains" </IfModule> </VirtualHost>
I have put in MYDOMAIN in my reply for security measure :) Also, instead of nextcloud 10, i installed 12 (i hope there are no issues?)
What is going on? Its like not pointing to the nextcloud server. Also, I have forwarded 80 and 443 on the router to the nextcloud jail IP. Any ideas what is wrong?