标题:明盘出digitalocean空号
作者:electronlsr
原帖:https://hostloc.com/thread-866329-1-1.html
摘要:RT,已开好两team,卡活,仍可继续开team
每一个team都可以吃100刀码,但请注意多吃码有封号几率
改邮箱出,论坛交易记录良好
tg@ankivector
作者:electronlsr
原帖:https://hostloc.com/thread-866329-1-1.html
摘要:RT,已开好两team,卡活,仍可继续开team
每一个team都可以吃100刀码,但请注意多吃码有封号几率
改邮箱出,论坛交易记录良好
tg@ankivector
标题:腾讯云 哪里 AMD多 成都 北京 广州?
作者:colts516
原帖:https://hostloc.com/thread-866330-1-1.html
摘要:轻量服务器 5M的那种,开上海的是intel,速度比2018年的AMD还慢。
成都 北京 广州?大家哪里开的AMD多 。
作者:colts516
原帖:https://hostloc.com/thread-866330-1-1.html
摘要:轻量服务器 5M的那种,开上海的是intel,速度比2018年的AMD还慢。
成都 北京 广州?大家哪里开的AMD多 。
标题:【出】Cloudpowerall 年付Los Angeles CN2 GIA N2
作者:weiguoxiu
原帖:https://hostloc.com/thread-866323-1-1.html
摘要:本帖最后由 weiguoxiu 于 2021-7-10 18:27 编辑
配置如下:
LAGIA-N2-Micro
Intel Xeon E5 处理器
1核处理器
1024 MB内存
20 GB NVMe SSD 磁盘
500G/mo传输
100 Mbps 峰值 CN2 GIA
首购时间2021.5.8,明盘120,要的PM
作者:weiguoxiu
原帖:https://hostloc.com/thread-866323-1-1.html
摘要:本帖最后由 weiguoxiu 于 2021-7-10 18:27 编辑
配置如下:
LAGIA-N2-Micro
Intel Xeon E5 处理器
1核处理器
1024 MB内存
20 GB NVMe SSD 磁盘
500G/mo传输
100 Mbps 峰值 CN2 GIA
首购时间2021.5.8,明盘120,要的PM
标题:大佬们,有没有chuanqi霸主这样的源码
作者:bingo131
原帖:https://hostloc.com/thread-866331-1-1.html
摘要:大佬们,有没有chuanqi霸主这样的源码,想搞个和朋友玩
作者:bingo131
原帖:https://hostloc.com/thread-866331-1-1.html
摘要:大佬们,有没有chuanqi霸主这样的源码,想搞个和朋友玩
标题:【现货】aws32v全区号50一个
作者:noway
原帖:https://hostloc.com/thread-866333-1-1.html
摘要:已经开机1-3天,全部实卡注册,需要的MJJ留下联系方式或者PM
作者:noway
原帖:https://hostloc.com/thread-866333-1-1.html
摘要:已经开机1-3天,全部实卡注册,需要的MJJ留下联系方式或者PM
标题:帮开张虚拟卡
作者:ztxupdag
原帖:https://hostloc.com/thread-866334-1-1.html
摘要:常见的那几个卡段都行(内行人懂),要30美金,用于续费,能做的回帖,
作者:ztxupdag
原帖:https://hostloc.com/thread-866334-1-1.html
摘要:常见的那几个卡段都行(内行人懂),要30美金,用于续费,能做的回帖,
标题:linux可以dd成windows,windows怎么都变成linux?
作者:jadeborner
原帖:https://hostloc.com/thread-866335-1-1.html
摘要:怎么操作?
作者:jadeborner
原帖:https://hostloc.com/thread-866335-1-1.html
摘要:怎么操作?
标题:最后2只十年xyz8888和6666域名
作者:hemake
原帖:https://hostloc.com/thread-866336-1-1.html
摘要:638888.xyz 60 2031.6月到期
316666.xyz 55 2031年3月到期
要的联系 tg mikoer
作者:hemake
原帖:https://hostloc.com/thread-866336-1-1.html
摘要:638888.xyz 60 2031.6月到期
316666.xyz 55 2031年3月到期
要的联系 tg mikoer
标题:QQ 超级会员、豪华黄钻5折!SVIP-STAR首发!
作者:zxxx
原帖:https://hostloc.com/thread-866337-1-1.html
摘要:https://mp.weixin.qq.com/s/dU6o6-UU23OJglO4xD2NFw
作者:zxxx
原帖:https://hostloc.com/thread-866337-1-1.html
摘要:https://mp.weixin.qq.com/s/dU6o6-UU23OJglO4xD2NFw
标题:卖域名啦
作者:徐来
原帖:https://hostloc.com/thread-866339-1-1.html
摘要:mei.ma 美.吗 没.码 没.ma
续费139 价格4位起议价
api.sd 41天过期 续费350 价格50R
git.sd 41天过期 续费350 价格38.88R
dwz.cat 90天过期 续费175 短网址猫 价格108.88
hot.cat 788R 续费150
loli.sy 200R 续费229 100天过期
cat.ooo 1388R 续费224
net.ong net.ngo 打包777 续费292
bendi.org 本地生活 价格888
1jo.cn 1jo网络热词 188R
2012.09.17--2021.09.17
xiaonai.net 肖奈108
yunzhuo.net 云卓138 在易名,老域名
PM我联系方式
安全无需担心,元老我先P或者平台带价P
都是亏本甩卖,抱歉打扰大家
作者:徐来
原帖:https://hostloc.com/thread-866339-1-1.html
摘要:mei.ma 美.吗 没.码 没.ma
续费139 价格4位起议价
api.sd 41天过期 续费350 价格50R
git.sd 41天过期 续费350 价格38.88R
dwz.cat 90天过期 续费175 短网址猫 价格108.88
hot.cat 788R 续费150
loli.sy 200R 续费229 100天过期
cat.ooo 1388R 续费224
net.ong net.ngo 打包777 续费292
bendi.org 本地生活 价格888
1jo.cn 1jo网络热词 188R
2012.09.17--2021.09.17
xiaonai.net 肖奈108
yunzhuo.net 云卓138 在易名,老域名
PM我联系方式
安全无需担心,元老我先P或者平台带价P
都是亏本甩卖,抱歉打扰大家
标题:Workers如何实现类似Nginx location的功能?
作者:MoeWang
原帖:https://hostloc.com/thread-866338-1-1.html
摘要:本帖最后由 MoeWang 于 2021-7-10 19:11 编辑
如题,是这样的,我把原来vercel的b2对象存储反代移到workers来了(看中了带宽联盟),然后我就找了找论坛里的workers反代隐藏path,然后就卡在这里了。。原因是我在vercel里面设置过不同的路由,比如/avatar/的path是用来反代gravatar的,传入的path符合条件的话(比如https://workers/avatar/xxxxxx)就执行反代gravatar的代码;
如果传入的URL不包含avatar(比如https://workers/test.jpg或者https://workers/public/123.js)就继续反代对象存储。
让我写个nginx或者vercel的那种path路由我会,但是换用service workers就真的不会了,
主要是如何监听不同路径这块代码不是很熟悉。如果要想复杂些的话这种要用if吗?
然后可能真的没找对关键词,网上我就没搜着service workers 分path执行的相关教程,所以来问问各位大佬。能给我一篇讲如何监听不同目录的文档或者教程也行。。吐了。。。救救孩子吧
目前搜到的代码如下: //gravatar反代 addEventListener( "fetch",event => { let url=new URL(event.request.url); url.hostname="secure.gravatar.com"; url.pathname="/avatar/"; let request=new Request(url,event.request); event. respondWith( fetch(request) ) } ) //gravatar反代 结束 //B2 存储隐藏桶 开始 'use strict'; const b2Domain = 'cdn.xxxxx'; // configure this as per instructions above const b2Bucket = 'xxxxxxx; // configure this as per instructions above const b2UrlPath = `/file/${b2Bucket}/`; addEventListener('fetch', event => { return event.respondWith(fileReq(event)); }); // define the file extensions we wish to add basic access control headers to const corsFileTypes = ['png', 'jpg', 'gif', 'jpeg', 'webp']; // backblaze returns some additional headers that are useful for debugging, but unnecessary in production. We can remove these to save some size const removeHeaders = [ 'x-bz-content-sha1', 'x-bz-file-id', 'x-bz-file-name', 'x-bz-info-src_last_modified_millis', 'X-Bz-Upload-Timestamp', 'Expires' ]; const expiration = 31536000; // override browser cache for images - 1 year // define a function we can re-use to fix headers const fixHeaders = function(url, status, headers){ let newHdrs = new Headers(headers); // add basic cors headers for images if(corsFileTypes.includes(url.pathname.split('.').pop())){ newHdrs.set('Access-Control-Allow-Origin', '*'); } // override browser cache for files when 200 if(status === 200){ newHdrs.set('Cache-Control', "public, max-age=" + expiration); }else{ // only cache other things for 5 minutes newHdrs.set('Cache-Control', 'public, max-age=300'); } // set ETag for efficient caching where possible const ETag = newHdrs.get('x-bz-content-sha1') || newHdrs.get('x-bz-info-src_last_modified_millis') || newHdrs.get('x-bz-file-id'); if(ETag){ newHdrs.set('ETag', ETag); } // remove unnecessary headers removeHeaders.forEach(header => { newHdrs.delete(header); }); return newHdrs; }; async function fileReq(event){ const cache = caches.default; // Cloudflare edge caching const url = new URL(event.request.url); if(url.host === b2Domain && !url.pathname.startsWith(b2UrlPath)){ url.pathname = b2UrlPath + url.pathname; } let response = await cache.match(url); // try to find match for this request in the edge cache if(response){ // use cache found on Cloudflare edge. Set X-Worker-Cache header for helpful debug let newHdrs = fixHeaders(url, response.status, response.headers); newHdrs.set('X-Worker-Cache', "true"); return new Response(response.body, { status: response.status, statusText: response.statusText, headers: newHdrs }); } // no cache, fetch image, apply Cloudflare lossless compression response = await fetch(url, {cf: {polish: "lossless"}}); let newHdrs = fixHeaders(url, response.status, response.headers); if(response.status === 200){ r ...
作者:MoeWang
原帖:https://hostloc.com/thread-866338-1-1.html
摘要:本帖最后由 MoeWang 于 2021-7-10 19:11 编辑
如题,是这样的,我把原来vercel的b2对象存储反代移到workers来了(看中了带宽联盟),然后我就找了找论坛里的workers反代隐藏path,然后就卡在这里了。。原因是我在vercel里面设置过不同的路由,比如/avatar/的path是用来反代gravatar的,传入的path符合条件的话(比如https://workers/avatar/xxxxxx)就执行反代gravatar的代码;
如果传入的URL不包含avatar(比如https://workers/test.jpg或者https://workers/public/123.js)就继续反代对象存储。
让我写个nginx或者vercel的那种path路由我会,但是换用service workers就真的不会了,
主要是如何监听不同路径这块代码不是很熟悉。如果要想复杂些的话这种要用if吗?
然后可能真的没找对关键词,网上我就没搜着service workers 分path执行的相关教程,所以来问问各位大佬。能给我一篇讲如何监听不同目录的文档或者教程也行。。吐了。。。救救孩子吧
目前搜到的代码如下: //gravatar反代 addEventListener( "fetch",event => { let url=new URL(event.request.url); url.hostname="secure.gravatar.com"; url.pathname="/avatar/"; let request=new Request(url,event.request); event. respondWith( fetch(request) ) } ) //gravatar反代 结束 //B2 存储隐藏桶 开始 'use strict'; const b2Domain = 'cdn.xxxxx'; // configure this as per instructions above const b2Bucket = 'xxxxxxx; // configure this as per instructions above const b2UrlPath = `/file/${b2Bucket}/`; addEventListener('fetch', event => { return event.respondWith(fileReq(event)); }); // define the file extensions we wish to add basic access control headers to const corsFileTypes = ['png', 'jpg', 'gif', 'jpeg', 'webp']; // backblaze returns some additional headers that are useful for debugging, but unnecessary in production. We can remove these to save some size const removeHeaders = [ 'x-bz-content-sha1', 'x-bz-file-id', 'x-bz-file-name', 'x-bz-info-src_last_modified_millis', 'X-Bz-Upload-Timestamp', 'Expires' ]; const expiration = 31536000; // override browser cache for images - 1 year // define a function we can re-use to fix headers const fixHeaders = function(url, status, headers){ let newHdrs = new Headers(headers); // add basic cors headers for images if(corsFileTypes.includes(url.pathname.split('.').pop())){ newHdrs.set('Access-Control-Allow-Origin', '*'); } // override browser cache for files when 200 if(status === 200){ newHdrs.set('Cache-Control', "public, max-age=" + expiration); }else{ // only cache other things for 5 minutes newHdrs.set('Cache-Control', 'public, max-age=300'); } // set ETag for efficient caching where possible const ETag = newHdrs.get('x-bz-content-sha1') || newHdrs.get('x-bz-info-src_last_modified_millis') || newHdrs.get('x-bz-file-id'); if(ETag){ newHdrs.set('ETag', ETag); } // remove unnecessary headers removeHeaders.forEach(header => { newHdrs.delete(header); }); return newHdrs; }; async function fileReq(event){ const cache = caches.default; // Cloudflare edge caching const url = new URL(event.request.url); if(url.host === b2Domain && !url.pathname.startsWith(b2UrlPath)){ url.pathname = b2UrlPath + url.pathname; } let response = await cache.match(url); // try to find match for this request in the edge cache if(response){ // use cache found on Cloudflare edge. Set X-Worker-Cache header for helpful debug let newHdrs = fixHeaders(url, response.status, response.headers); newHdrs.set('X-Worker-Cache', "true"); return new Response(response.body, { status: response.status, statusText: response.statusText, headers: newHdrs }); } // no cache, fetch image, apply Cloudflare lossless compression response = await fetch(url, {cf: {polish: "lossless"}}); let newHdrs = fixHeaders(url, response.status, response.headers); if(response.status === 200){ r ...
标题:delete the account[悬赏贴]
作者:mit
原帖:https://hostloc.com/thread-866342-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
作者:mit
原帖:https://hostloc.com/thread-866342-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
标题:delete the account[悬赏贴]
作者:mit
原帖:https://hostloc.com/thread-866343-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
作者:mit
原帖:https://hostloc.com/thread-866343-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
标题:delete the account[悬赏贴]
作者:mit
原帖:https://hostloc.com/thread-866345-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
作者:mit
原帖:https://hostloc.com/thread-866345-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
标题:delete the account!!!
作者:mit
原帖:https://hostloc.com/thread-866346-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
作者:mit
原帖:https://hostloc.com/thread-866346-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
标题:delete the account!!!!!!!!!!!!!!!!
作者:mit
原帖:https://hostloc.com/thread-866347-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
作者:mit
原帖:https://hostloc.com/thread-866347-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
标题:大佬推荐个路由器
作者:风花雪悦
原帖:https://hostloc.com/thread-866350-1-1.html
摘要:需求:既能接入有线宽带,又能插sim卡,两种网络同时在线,客户端随时可以根据需要选择不同网络
作者:风花雪悦
原帖:https://hostloc.com/thread-866350-1-1.html
摘要:需求:既能接入有线宽带,又能插sim卡,两种网络同时在线,客户端随时可以根据需要选择不同网络
标题:delete the account!!!!!!!!!!!!
作者:mit
原帖:https://hostloc.com/thread-866349-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.
作者:mit
原帖:https://hostloc.com/thread-866349-1-1.html
摘要:Bye!Bye!
Please admin help me to delete the account.