因为请求头部少了“Sec-Fetch-User: ?1”就不行了,可能和微信的安全机制有关
继续阅读月度归档:2021年03月
nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
把server_names_hash_bucket_size改大点即可,可以改成64或128试下,放在http {}里
Syntax: | server_names_hash_bucket_size size; |
---|---|
Default: | server_names_hash_bucket_size 32|64|128; |
Context: | http |
Sets the bucket size for the server names hash tables. The default value depends on the size of the processor’s cache line. The details of setting up hash tables are provided in a separate document.
error: Found option without preceding group in config file: /etc/mysql/conf.
可能是少了[mysqld]?可以试下
[mysqld]
innodb_file_per_table
innodb_file_format = Barracuda
Warning: World-writable config file ‘/etc/mysql/conf.d/my.cnf’ is ignored
权限太开放 改下就好了
chmod 644 /etc/mysql/conf.d/my.cnf
chown mysql:mysql /etc/mysql/conf.d/my.cnf
正则匹配所有字符(含换行符)
[\s\S]*
# 说明:空白字符+非空白字符等于全部字符