gpt4 book ai didi

wordpress - Wordpress 的索引页面不受 SSL 保护

转载 作者:太空宇宙 更新时间:2023-11-03 14:26:41 25 4
gpt4 key购买 nike

在 ubuntu 上运行 vHost nginx。在我添加了一个 wordpress SEO 友好的 url 之后,我的主页(索引)变得不安全。但是所有其他页面都是

非担保指数。

enter image description here

所有其他页面都是安全的。

enter image description here

有人能指出我正确的方向吗?如何保护索引页?

server {

listen 80;

listen [::]:80;

listen 443 ssl;

listen [::]:443 ssl;

ssl on;
ssl_certificate /etc/nginx/ssl-certs/MYSITE.com.crt;
ssl_trusted_certificate /etc/nginx/ssl-certs/MYSITE.com.crt;
ssl_certificate_key /etc/nginx/ssl-certs/MYSITE.com.key;
ssl_prefer_server_ciphers on;

server_name MYSITE.com www.MYSITE.com;

root /var/www/MYSITE.com/public_html;
index index.php index.html;
autoindex on;
include /etc/nginx/macros/macro;
include /etc/nginx/snippets/phpmyadmin.conf;




####Please add below lines for SEO Friendly URLs
location / {
index index.php;
try_files $uri $uri/ /index.php?q=$uri&$args;
}

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
}
}

在我添加一个 wordpress SEO 友好 url 后,我的主页(索引)变得不安全。但是所有其他页面都是

尝试清除 cookie,在不同的 PC 上尝试,到处都是同样的事情。

最佳答案

尝试使用 Wordpress 插件“REALLY SIMPLE SSL”。希望它会起作用。

关于wordpress - Wordpress 的索引页面不受 SSL 保护,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56401970/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com