Https configuration error

I originally wanted to configure https, and there was a problem, but now I can"t access it by http. It automatically becomes https,

every time.

refer to an in-site article when configuring: https://codeshelper.com/a/11.

ip access is normal, but I want to access it as http now.

clipboard.png


here is a rewrite, that redirects it from http to https, and you redirect this one. Then reconfigure it.

server {
        listen       80;
        server_name  www.yourdomain.com;
        rewrite ^ https://$http_host$request_uri? permanent;    -sharp force redirect http to https
    -sharpreturn 301 https://$http_host$request_uri;
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32fc4-2be67.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32fc4-2be67.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?