(Dec 29) New version 0.9.8-18 has been released

http sites won't load after yum update

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
umizoomi
Posts: 2
Joined: Fri Dec 08, 2017 11:32 am

http sites won't load after yum update

Postby umizoomi » Fri Dec 08, 2017 12:39 pm

Hey, im running the latest vestacp on centos 7. This morning I did a yum update, after that everything on the server loading without ssl isn't working.

See for instance: http://mmmaxi.me/ it downloads a file with some numbers. however https works fine.

I've tried rebooting, using default nginx proxy config. All doesnt seem to be working.

Could I have updated something that doesnt work with vestacp? As far as I know I dont have anything else running on this VPS

Anyone care to help me out :)?

Thanks!

sysdop
Posts: 6
Joined: Fri Dec 08, 2017 1:46 am

Re: http sites won't load after yum update

Postby sysdop » Fri Dec 08, 2017 12:58 pm

umizoomi wrote:Hey, im running the latest vestacp on centos 7. This morning I did a yum update, after that everything on the server loading without ssl isn't working.

See for instance: http://mmmaxi.me/ it downloads a file with some numbers. however https works fine.

I've tried rebooting, using default nginx proxy config. All doesnt seem to be working.

Could I have updated something that doesnt work with vestacp? As far as I know I dont have anything else running on this VPS

Anyone care to help me out :)?

Thanks!


@umizoomi which lines are the ones you have in the nginx.conf and snginx.conf located in /home/USER/conf/web?

Are you using Nginx + Php-FPM true? You can try changing the template to Wordpress2, maybe this will solve your problem in most cases.

umizoomi
Posts: 2
Joined: Fri Dec 08, 2017 11:32 am

Re: http sites won't load after yum update

Postby umizoomi » Tue Dec 12, 2017 4:00 pm

sysdop wrote:
umizoomi wrote:Hey, im running the latest vestacp on centos 7. This morning I did a yum update, after that everything on the server loading without ssl isn't working.

See for instance: http://mmmaxi.me/ it downloads a file with some numbers. however https works fine.

I've tried rebooting, using default nginx proxy config. All doesnt seem to be working.

Could I have updated something that doesnt work with vestacp? As far as I know I dont have anything else running on this VPS

Anyone care to help me out :)?

Thanks!


@umizoomi which lines are the ones you have in the nginx.conf and snginx.conf located in /home/USER/conf/web?

Are you using Nginx + Php-FPM true? You can try changing the template to Wordpress2, maybe this will solve your problem in most cases.


Hey, I reinstalled the server and vestacp. It worked for a while. but now its giving the same problem again. Heres my nginx config:

Code: Select all

server {
    listen      37.97.223.231:443;
    server_name rasidi.nl ;
    ssl         on;
    ssl_certificate      /home/mcjambi/conf/web/ssl.rasidi.nl.pem;
    ssl_certificate_key  /home/mcjambi/conf/web/ssl.rasidi.nl.key;
    error_log  /var/log/httpd/domains/rasidi.nl.error.log error;

    location / {
        proxy_pass      https://37.97.223.231:8443;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/mcjambi/web/rasidi.nl/public_html;
            access_log     /var/log/httpd/domains/rasidi.nl.log combined;
            access_log     /var/log/httpd/domains/rasidi.nl.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/mcjambi/web/rasidi.nl/document_errors/;
    }

    location @fallback {
        proxy_pass      https://37.97.223.231:8443;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/mcjambi/conf/web/snginx.rasidi.nl.conf*;
}

server {
    listen      37.97.223.231:443;
    server_name mmmaxi.me www.mmmaxi.me;
    ssl         on;
    ssl_certificate      /home/mcjambi/conf/web/ssl.mmmaxi.me.pem;
    ssl_certificate_key  /home/mcjambi/conf/web/ssl.mmmaxi.me.key;
    error_log  /var/log/httpd/domains/mmmaxi.me.error.log error;

    location / {
        proxy_pass      https://37.97.223.231:8443;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/mcjambi/web/mmmaxi.me/public_html;
            access_log     /var/log/httpd/domains/mmmaxi.me.log combined;
            access_log     /var/log/httpd/domains/mmmaxi.me.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/mcjambi/web/mmmaxi.me/document_errors/;
    }

    location @fallback {
        proxy_pass      https://37.97.223.231:8443;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/mcjambi/conf/web/snginx.mmmaxi.me.conf*;
}

server {
    listen      37.97.223.231:443;
    server_name dewoudbloem.nl www.dewoudbloem.nl;
    ssl         on;
    ssl_certificate      /home/mcjambi/conf/web/ssl.dewoudbloem.nl.pem;
    ssl_certificate_key  /home/mcjambi/conf/web/ssl.dewoudbloem.nl.key;
    error_log  /var/log/httpd/domains/dewoudbloem.nl.error.log error;

    location / {
        proxy_pass      https://37.97.223.231:8443;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/mcjambi/web/dewoudbloem.nl/public_html;
            access_log     /var/log/httpd/domains/dewoudbloem.nl.log combined;
            access_log     /var/log/httpd/domains/dewoudbloem.nl.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/mcjambi/web/dewoudbloem.nl/document_errors/;
    }

    location @fallback {
        proxy_pass      https://37.97.223.231:8443;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/mcjambi/conf/web/snginx.dewoudbloem.nl.conf*;
}

server {
    listen      37.97.223.231:443;
    server_name melodyboorsma.nl www.melodyboorsma.nl;
    ssl         on;
    ssl_certificate      /home/mcjambi/conf/web/ssl.melodyboorsma.nl.pem;
    ssl_certificate_key  /home/mcjambi/conf/web/ssl.melodyboorsma.nl.key;
    error_log  /var/log/httpd/domains/melodyboorsma.nl.error.log error;

    location / {
        proxy_pass      https://37.97.223.231:8443;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/mcjambi/web/melodyboorsma.nl/public_html;
            access_log     /var/log/httpd/domains/melodyboorsma.nl.log combined;
            access_log     /var/log/httpd/domains/melodyboorsma.nl.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/mcjambi/web/melodyboorsma.nl/document_errors/;
    }

    location @fallback {
        proxy_pass      https://37.97.223.231:8443;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/mcjambi/conf/web/snginx.melodyboorsma.nl.conf*;
}

server {
    listen      37.97.223.231:443;
    server_name jamil.io www.jamil.io;
    ssl         on;
    ssl_certificate      /home/mcjambi/conf/web/ssl.jamil.io.pem;
    ssl_certificate_key  /home/mcjambi/conf/web/ssl.jamil.io.key;
    error_log  /var/log/httpd/domains/jamil.io.error.log error;

    location / {
        proxy_pass      https://37.97.223.231:8443;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/mcjambi/web/jamil.io/public_html;
            access_log     /var/log/httpd/domains/jamil.io.log combined;
            access_log     /var/log/httpd/domains/jamil.io.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/mcjambi/web/jamil.io/document_errors/;
    }

    location @fallback {
        proxy_pass      https://37.97.223.231:8443;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/mcjambi/conf/web/snginx.jamil.io.conf*;
}

server {
    listen      37.97.223.231:443;
    server_name swagmail.nl www.swagmail.nl;
    ssl         on;
    ssl_certificate      /home/mcjambi/conf/web/ssl.swagmail.nl.pem;
    ssl_certificate_key  /home/mcjambi/conf/web/ssl.swagmail.nl.key;
    error_log  /var/log/httpd/domains/swagmail.nl.error.log error;

    location / {
        proxy_pass      https://37.97.223.231:8443;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/mcjambi/web/swagmail.nl/public_html;
            access_log     /var/log/httpd/domains/swagmail.nl.log combined;
            access_log     /var/log/httpd/domains/swagmail.nl.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/mcjambi/web/swagmail.nl/document_errors/;
    }

    location @fallback {
        proxy_pass      https://37.97.223.231:8443;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/mcjambi/conf/web/snginx.swagmail.nl.conf*;
}

server {
    listen      37.97.223.231:443;
    server_name swekt.nl www.swekt.nl;
    ssl         on;
    ssl_certificate      /home/mcjambi/conf/web/ssl.swekt.nl.pem;
    ssl_certificate_key  /home/mcjambi/conf/web/ssl.swekt.nl.key;
    error_log  /var/log/httpd/domains/swekt.nl.error.log error;

    location / {
        proxy_pass      https://37.97.223.231:8443;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/mcjambi/web/swekt.nl/public_html;
            access_log     /var/log/httpd/domains/swekt.nl.log combined;
            access_log     /var/log/httpd/domains/swekt.nl.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/mcjambi/web/swekt.nl/document_errors/;
    }

    location @fallback {
        proxy_pass      https://37.97.223.231:8443;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/mcjambi/conf/web/snginx.swekt.nl.conf*;
}

server {
    listen      37.97.223.231:443;
    server_name taartartnederland.nl www.taartartnederland.nl;
    ssl         on;
    ssl_certificate      /home/mcjambi/conf/web/ssl.taartartnederland.nl.pem;
    ssl_certificate_key  /home/mcjambi/conf/web/ssl.taartartnederland.nl.key;
    error_log  /var/log/httpd/domains/taartartnederland.nl.error.log error;

    location / {
        proxy_pass      https://37.97.223.231:8443;
        location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ {
            root           /home/mcjambi/web/taartartnederland.nl/public_html;
            access_log     /var/log/httpd/domains/taartartnederland.nl.log combined;
            access_log     /var/log/httpd/domains/taartartnederland.nl.bytes bytes;
            expires        max;
            try_files      $uri @fallback;
        }
    }

    location /error/ {
        alias   /home/mcjambi/web/taartartnederland.nl/document_errors/;
    }

    location @fallback {
        proxy_pass      https://37.97.223.231:8443;
    }

    location ~ /\.ht    {return 404;}
    location ~ /\.svn/  {return 404;}
    location ~ /\.git/  {return 404;}
    location ~ /\.hg/   {return 404;}
    location ~ /\.bzr/  {return 404;}

    include /home/mcjambi/conf/web/snginx.taartartnederland.nl.conf*;
}



skurudo
VestaCP Team
Posts: 7808
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: http sites won't load after yum update

Postby skurudo » Thu Dec 14, 2017 1:42 pm

Code: Select all

nginx -t

will show is or not problems with configs.

PS: Sites from config looks fine, what problem was ?
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now


Return to “Web Server”



Who is online

Users browsing this forum: Bing [Bot] and 4 guests

cron