52txr 最近的时间轴更新
52txr

52txr

好好学习,天天向上
V2EX 第 608205 号会员,加入于 2022-12-28 16:40:28 +08:00
今日活跃度排名 27357
根据 52txr 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
52txr 最近回复了
19 天前
回复了 52txr 创建的主题 分享发现 关于公众号流量和博客网站流量的思考
cn 现在基本没啥限制。用国内的服务器按照要求备案就行,我是 ICP 备案和公安备案。加了 cloudflare 是基于 saas 回源实现的
30 天前
回复了 52txr 创建的主题 分享发现 关于公众号流量和博客网站流量的思考
@googlefans 好!公众号毕竟也不是自己的平台,还是有风险的。
@john6lq 我想咨询一下大佬,网站是挂在非标的端口上,Cloudflare Saas 服务支持吗,我的自定义主机名 A 是在服务器的 20304 端口,我在别的 CDN 上是设置源站如下:
源站类型 IP
源站地址 110.42.xxx.xxx:20304
回源协议 HTTP
回源 Host example1.cn
回源路径 根目录
目前正在更新第二代,使用随机 cookies 并且放到 session 里面存储
@rrfeng
@skallz
@ranaanna
@yuedanwork
好嘞,感谢各位大佬的解答!
我也试了 Nginx1.18 ,完全按照教程来。

我只是瞎折腾,确实也不是急需的东西。如果有大佬 i 知道有什么坑,希望指点一二
407 | if (r->headers_out.cache_control.elts == NULL) {
| ^~~~
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:408:35: error: cannot convert ‘ngx_table_elt_t**’ {aka ‘ngx_table_elt_s**’} to ‘ngx_array_t*’
408 | ngx_int_t rc = ngx_array_init(&r->headers_out.cache_control, r->pool,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ngx_table_elt_t** {aka ngx_table_elt_s**}
In file included from src/core/ngx_core.h:66,
from src/http/ngx_http.h:13,
from /usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.h:33,
from /usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:26:
src/core/ngx_array.h:32:29: note: initializing argument 1 of ‘ngx_int_t ngx_array_init(ngx_array_t*, ngx_pool_t*, ngx_uint_t, size_t)’
32 | ngx_array_init(ngx_array_t *array, ngx_pool_t *pool, ngx_uint_t n, size_t size)
| ~~~~~~~~~~~~~^~~~~
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:415:22: error: cannot convert ‘ngx_table_elt_t**’ {aka ‘ngx_table_elt_s**’} to ‘ngx_array_t*’
415 | ngx_array_push(&r->headers_out.cache_control));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ngx_table_elt_t** {aka ngx_table_elt_s**}
src/core/ngx_array.h:27:35: note: initializing argument 1 of ‘void* ngx_array_push(ngx_array_t*)’
27 | void *ngx_array_push(ngx_array_t *a);
| ~~~~~~~~~~~~~^
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc: In function ‘bool net_instaweb::{anonymous}::ps_get_cache_control(ngx_http_request_t*, GoogleString*)’:
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:439:74: error: request for member ‘elts’ in ‘r->ngx_http_request_s::headers_out.ngx_http_headers_out_t::cache_control’, which is of pointer type ‘ngx_table_elt_t*’ {aka ‘ngx_table_elt_s*’} (maybe you meant to use ‘->’ ?)
439 | auto ccp = static_cast<ngx_table_elt_t**>(r->headers_out.cache_control.elts);
| ^~~~
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:444:59: error: request for member ‘nelts’ in ‘r->ngx_http_request_s::headers_out.ngx_http_headers_out_t::cache_control’, which is of pointer type ‘ngx_table_elt_t*’ {aka ‘ngx_table_elt_s*’} (maybe you meant to use ‘->’ ?)
444 | for (ngx_uint_t i = 0; i < r->headers_out.cache_control.nelts; i++) {
| ^~~~~
make[1]: *** [objs/Makefile:1324: objs/addon/src/ngx_pagespeed.o] Error 1
make[1]: Leaving directory '/home/lighthouse/nginx-1.27.1'
make: *** [Makefile:10: build] Error 2
@OHYOLO 不好说,有的就是针对性攻击,有的是报复社会无差别攻击,逮谁的博客都进行攻击
@julyclyde 强答一下也可以参考参考,为什么要处理?(还是论坛有什么梗我不知道而已)
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2762 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 13:19 · PVG 21:19 · LAX 06:19 · JFK 09:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.