Quantcast
Channel: Sentora Support Forums - All Forums
Viewing all articles
Browse latest Browse all 4648

Let's Encrypt redirect error

$
0
0
I tried Let's encrypt tutorial for one of my domains. After I finished, bobses.eu shows Sentora login screen instead my website content... I don't know why, but the httpd-vhosts.conf file looks like below:

Code:
# DOMAIN: bobses.eu
<virtualhost xxx.xxx.xxx.xxx:443>
ServerName bobses.eu
ServerAlias  www.bobses.eu
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/bobses_eu"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/bobses_eu:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mk$
ErrorLog "/var/sentora/logs/domains/zadmin/bobses.eu-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/bobses.eu-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/bobses.eu-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/bobses_eu">
 Options +FollowSymLinks -Indexes
 AllowOverride All
 Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)
SSLEngine on

SSLProtocol ALL -SSLv2 -SSLv3

SSLHonorCipherOrder On

SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

SSLCertificateFile /etc/letsencrypt/live/bobses.eu/cert.pem

SSLCertificateKeyFile /etc/letsencrypt/live/bobses.eu/privkey.pem

SSLCertificateChainFile /etc/letsencrypt/live/bobses.eu/chain.pem

# Keeping bellow for future upgrades.

# Requires Apache >= 2.4
SSLCompression off

</virtualhost>
# END DOMAIN: bobses.eu
################################################################



# DOMAIN: bobses.eu
# PORT FORWARD FROM 80 TO: 443
<virtualhost *:80>
ServerName bobses.eu
ServerAlias www.bobses.eu
ServerAdmin zadmin@localhost
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</virtualhost>
# END DOMAIN: bobses.eu

Can someone help me? 
There is another easy method for SSL? 

Thanks.

Viewing all articles
Browse latest Browse all 4648

Trending Articles