Hi Run the command
=>
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain efw-forum.de
Restart Apache & Nginx
Website still not working with ssl
conf/nginx.conf
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
server {
listen 85.214.18.182:443 ssl;
server_name efw-forum.de;
server_name
www.efw-forum.de;
server_name ipv4.efw-forum.de;
server_name endian.community;
server_name
www.endian.community;
ssl_certificate /opt/psa/var/certificates/cert-t9q0DG;
ssl_certificate_key /opt/psa/var/certificates/cert-t9q0DG;
ssl_client_certificate /opt/psa/var/certificates/cert-68kpPE;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
client_max_body_size 128m;
root "/var/www/vhosts/efw-forum.de/httpdocs";
access_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_access_ssl_log";
error_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_error_log";
if ($host ~* ^efw-forum.de$) {
rewrite ^(.*)$
https://www.efw-forum.de$1 permanent;
}
if ($host ~* ^endian.community$) {
rewrite ^(.*)$
https://www.efw-forum.de$1 permanent;
}
if ($host ~* ^
www.endian.community$) {
rewrite ^(.*)$
https://www.efw-forum.de$1 permanent;
}
location / {
proxy_pass
https://85.214.18.182:7081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}
location /internal-nginx-static-location/ {
alias /var/www/vhosts/efw-forum.de/httpdocs/;
add_header X-Powered-By PleskLin;
internal;
}
location ~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon) {
proxy_pass
https://85.214.18.182:7081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}
location ~ ^/~(.+?)(/.*?\.php)(/.*)?$ {
alias /var/www/vhosts/efw-forum.de/web_users/$1/$2;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:/var/www/vhosts/system/efw-forum.de/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}
location ~ ^/~(.+?)(/.*)?$ {
proxy_pass
https://85.214.18.182:7081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}
location ~ \.php(/.*)?$ {
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:/var/www/vhosts/system/efw-forum.de/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}
location ~ /$ {
index index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml;
}
}
server {
listen 85.214.18.182:80;
server_name efw-forum.de;
server_name
www.efw-forum.de;
server_name ipv4.efw-forum.de;
server_name endian.community;
server_name
www.endian.community;
client_max_body_size 128m;
root "/var/www/vhosts/efw-forum.de/httpdocs";
access_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_access_log";
error_log "/var/www/vhosts/system/efw-forum.de/logs/proxy_error_log";
if ($host ~* ^efw-forum.de$) {
rewrite ^(.*)$
http://www.efw-forum.de$1 permanent;
}
if ($host ~* ^endian.community$) {
rewrite ^(.*)$
http://www.efw-forum.de$1 permanent;
}
if ($host ~* ^
www.endian.community$) {
rewrite ^(.*)$
http://www.efw-forum.de$1 permanent;
}
location / {
proxy_pass
http://85.214.18.182:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}
location /internal-nginx-static-location/ {
alias /var/www/vhosts/efw-forum.de/httpdocs/;
add_header X-Powered-By PleskLin;
internal;
}
location ~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon) {
proxy_pass
http://85.214.18.182:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}
location ~ ^/~(.+?)(/.*?\.php)(/.*)?$ {
alias /var/www/vhosts/efw-forum.de/web_users/$1/$2;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:/var/www/vhosts/system/efw-forum.de/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}
location ~ ^/~(.+?)(/.*)?$ {
proxy_pass
http://85.214.18.182:7080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Accel-Internal /internal-nginx-static-location;
access_log off;
}
location ~ \.php(/.*)?$ {
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:/var/www/vhosts/system/efw-forum.de/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}
location ~ /$ {
index index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml;
}
}
Something here Missing ?
But i checked with the Old Server Settings:
found this in /var/log/apache2/error.log
[Mon Sep 29 07:56:48.090576 2014] [ssl:warn] [pid 11438] AH01916: Init: (efw-forum.de:443) You configured HTTP(80) on the standard HTTPS(443) port!
No SSL Sites working
https://efw-forum.de/plesk-stat the same Problem.