Port 443 disabled and can't access HTTPS
Port 443 disabled and can't access HTTPS
Hi! I've checked forums, tuts and asked for help from other developers to just make a simple https or ssl site work. I have a verified certificate but I couldn't access my site using https. I added the force-https template found here https://vestacp.com/docs/#how-to-force-https. I did the instructions and changed the necessary packages. Please help. I'm running ubuntu 14.04 on DO. I am a bit desprate now. Y_Y
Re: Port 443 disabled and can't access HTTPS
Wait-wait-wait.
Port 443 disabled - How can this be? Do you disable this port?
Or you don't add your certificate in VestaCP?
What did you do to add certificate step be step?
Port 443 disabled - How can this be? Do you disable this port?
Or you don't add your certificate in VestaCP?
What did you do to add certificate step be step?
Re: Port 443 disabled and can't access HTTPS
Hi! I clicked Generate CSR, Pasted the CSR to my SSL provider. They approved it and provided me with the Cert and the Cert Authority. VestaCP accepted it and it was saved. public_html is the ssl home.
I tried accessing https but it does not work. The SSL cust service asked for my domain name and tested, they said that my port 443 is closed. I did not change any vestaCP default settings.
And no, I did not disable any ports.
I tried accessing https but it does not work. The SSL cust service asked for my domain name and tested, they said that my port 443 is closed. I did not change any vestaCP default settings.
And no, I did not disable any ports.
Re: Port 443 disabled and can't access HTTPS
Try to disable firewall service and check https
Re: Port 443 disabled and can't access HTTPS
Now all my sites aren't running even in http. Vesta works fine though.
apache2 - running
nginx - not running
vesta-nginx running
vesta-php running
After enabling back firewall all my sites still aint working. hmmhm
apache2 - running
nginx - not running
vesta-nginx running
vesta-php running
After enabling back firewall all my sites still aint working. hmmhm
Re: Port 443 disabled and can't access HTTPS
Which template do you use for sites?
With enable nginx support?
With enable nginx support?
Re: Port 443 disabled and can't access HTTPS
One site is on Default and yes with enabled nginx support.
The other site which I needed the https thing is using force-http and still yes, checked nginx support.
And depressing to think that all my sites are now down. I just disabled firewall and re-enabled it and everything stopped working except vestacp. I can't even access phpmyadmin now.
The other site which I needed the https thing is using force-http and still yes, checked nginx support.
And depressing to think that all my sites are now down. I just disabled firewall and re-enabled it and everything stopped working except vestacp. I can't even access phpmyadmin now.
Re: Port 443 disabled and can't access HTTPS
What's in nginx error log?
see in /var/log
Why your nginx not start?
see in /var/log
Why your nginx not start?
Re: Port 443 disabled and can't access HTTPS
2015/03/28 08:03:41 [emerg] 8718#0: unknown directive "application/x-javascript" in /etc/nginx/nginx.conf:55
2015/03/28 08:03:55 [emerg] 9008#0: unknown directive "application/x-javascript" in /etc/nginx/nginx.conf:55
2015/03/28 08:04:21 [emerg] 9299#0: unknown directive "application/x-javascript" in /etc/nginx/nginx.conf:55
the time is correct for my timezone.
# Compression
gzip on;
gzip_comp_level 9;
gzip_min_length 512;
gzip_buffers 8 64k;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/x-font-ttf font/opentype;
application/x-javascript; <-- THIS IS LINE 55 AS MENTIONED ON THE ERROR
gzip_proxied any;
2015/03/28 08:03:55 [emerg] 9008#0: unknown directive "application/x-javascript" in /etc/nginx/nginx.conf:55
2015/03/28 08:04:21 [emerg] 9299#0: unknown directive "application/x-javascript" in /etc/nginx/nginx.conf:55
the time is correct for my timezone.
# Compression
gzip on;
gzip_comp_level 9;
gzip_min_length 512;
gzip_buffers 8 64k;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml application/x-font-ttf font/opentype;
application/x-javascript; <-- THIS IS LINE 55 AS MENTIONED ON THE ERROR
gzip_proxied any;
Re: Port 443 disabled and can't access HTTPS
Code: Select all
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml application/xml+rss;
Fix it and restart service