编辑:我想指出,如果我在我的计算机上使用云sdk手动部署,则不会发生此问题。只有管道
再次编辑:我在gcloud应用程序部署中添加了一个verbosity=debug。下面是生成的内容:
Do you want to continue (Y/n)?
DEBUG: No bucket specified, retrieving default bucket.
DEBUG: Using bucket [gs://staging.PROJECT.appspot.com].
DEBUG: Service [appengineflex.googleapis.com] is already enabl
我的nginx.conf文件如下:
server {
...
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.php index.html index.htm index.nginx-debian.html;
server_name mydomain.com;
if (!-e $request_filename)
{
我目前在生产服务器上遇到了Wordpress的一个奇怪的问题。当我试图访问不存在的url时,如果url有三个以上的段,Wordpress不会触发404,例如:
这些页面不存在并触发404页:
它们也不存在,但不要触发404页并显示主页(包含200个响应代码):
在我的本地机器上,上面的所有页面都显示404 (如预期的那样)。服务器(以及我的本地机器)都在运行nginx >10.16,nginx vhost信任几乎相等。运行PHP72-fpm。
我已经调试过:
主题folderDisable all pluginsSwitch to other themeDisable cloudf
我有wordpress网站,这是正确的工作在apache网站之前。
https://example.com -> (port 443) -> apache server
然而,现在我为反向代理安装了nginx。
https://example.com -> (port 443) -> nginx ->(port 8080) -> apache
所以现在,当访问wordpress站点时,会出现如下错误
The page at '<URL>' was loaded over HTTPS, but requested an insecu