current position:Home>Pagoda does not configure the solution of SSL site accessing HTTPS and jumping to other websites

Pagoda does not configure the solution of SSL site accessing HTTPS and jumping to other websites

2022-05-15 02:50:54~Soybeans~

In site settings -- Add the following code to the configuration file item :

# increase 443 port 
listen 443;

......

# Whether the increase is 80 Port judgment , Unified jump to 80 port 
if ($server_port != 80 ) {
    rewrite ^/(.*)$ http://$host/$1 permanent;
}

copyright notice
author[~Soybeans~],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/132/202205120513417026.html

Random recommended