我在主站开启了 https 然后访问子域名就会提示 hsts
我看了 Strict-Transport-Security - HTTP | MDN (mozilla.org)
尝试去网站设置中删除掉 add_header Strict-Transport-Security "max-age=31536000";
报错如下
服务内部错误: stderr: 2023/08/22 16:20:38 [emerg] 53#53: invalid port in upstream "127.0.0.1:0" in /usr/local/openresty/nginx/conf/conf.d/nextcloud.conf:33 nginx: [emerg] invalid port in upstream "127.0.0.1:0" in /usr/local/openresty/nginx/conf/conf.d/nextcloud.conf:33 nginx: configuration file /usr/local/openresty/nginx/conf/nginx.conf test failed
有什么地方可以避免这个问题吗