V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  mifar  ›  全部回复第 8 页 / 共 8 页
回复总数  158
1  2  3  4  5  6  7  8  
2020-01-26 13:54:40 +08:00
回复了 mifar 创建的主题 问与答 文档管理工具哪家爽? 除了 VuePress、GitBook 还有啥?
@4ark 不太好分类
2020-01-25 23:21:03 +08:00
回复了 mifar 创建的主题 问与答 文档管理工具哪家爽? 除了 VuePress、GitBook 还有啥?
@favourstreet 可以方便点做成网站
2020-01-25 22:07:25 +08:00
回复了 mifar 创建的主题 问与答 文档管理工具哪家爽? 除了 VuePress、GitBook 还有啥?
@loading 对的
2020-01-25 21:43:41 +08:00
回复了 jaleo 创建的主题 云计算 建个小站 阿里云 T5/T6 哪个好点?
@LU35 T5 T6 至少明码标价我最少可以用多少的 CPU 性能。 其他家都有性能争抢,性能多少得看脸。

小网站用不到多线程 T5 20% 就很棒
2020-01-23 17:01:03 +08:00
回复了 mifar 创建的主题 问与答 容器镜像自动化构建哪家比较好用?
@df4VW 注册个亚马逊药性欲卡好麻烦的说~
2020-01-23 15:36:03 +08:00
回复了 mifar 创建的主题 问与答 容器镜像自动化构建哪家比较好用?
顶起来哦
2019-02-09 19:09:08 +08:00
回复了 ivmm 创建的主题 Android 大家有 600 左右,支持快充的备用机推荐么?
@yeshang 功能机一般是 2G 或者 3G,2G 不安全,3G 有些地方已经撤离基站了。 4G 的功能机,+100 就能买个一年前的千元机了,这就很尴尬了
@siknet 自己学到的和用面板的不是两码事么
2019-01-31 14:23:26 +08:00
回复了 mifar 创建的主题 Bash Shell 给变量的赋值里带 $ 要怎么写?
@BOYPT 多谢,解决了
2019-01-24 22:29:58 +08:00
回复了 mifar 创建的主题 NGINX 遇到一个 Nginx 跨域问题,翻遍了资料还是解决不了
@lululau 没做 cdn 这样的,直接就是服务器访问呢的
2019-01-24 21:59:47 +08:00
回复了 mifar 创建的主题 NGINX 遇到一个 Nginx 跨域问题,翻遍了资料还是解决不了
外层应该是没加
2019-01-24 21:59:23 +08:00
回复了 mifar 创建的主题 NGINX 遇到一个 Nginx 跨域问题,翻遍了资料还是解决不了
@Kyle18Tang
@nzzzg

bb.xxx.com

```nginx
server
{
listen 80;
listen 443 ssl http2;
server_name bb.xxx.com;
index index.php index.html index.htm default.php default.htm default.html;
root /home/xxx;

#SSL-START SSL 相关配置,请勿删除或修改下一行带注释的 404 规则
#error_page 404/404.html;
#HTTP_TO_HTTPS_START
if ($server_port !~ 443){
rewrite ^(/.*)$ https://$host$1 permanent;
}

location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 204;
}
if ($request_method = 'POST') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
}
if ($request_method = 'GET') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
}
}

#SSL-END

#ERROR-PAGE-START 错误页配置,可以注释、删除或修改
error_page 404 /404.html;
error_page 502 /502.html;
#ERROR-PAGE-END


#禁止访问的文件或目录
location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
{
return 404;
}

#一键申请 SSL 证书验证目录相关设置
location ~ \.well-known{
allow all;
}

location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
error_log off;
access_log /dev/null;
}

location ~ .*\.(js|css)?$
{
expires 12h;
error_log off;
access_log /dev/null;
}
access_log /www/wwwlogs/bb.log;
error_log /www/wwwlogs/bb.error.log;
}
```


xxx.com

```nginx
server
{
listen 443 ssl http2 default;
listen 80;

server_name xxx.com;
index index.html index.htm index.jsp;
root /home/face_fronted;

if ($scheme = http ) {return 301 https://$host$request_uri;}


#SSL-END

#ERROR-PAGE-START 错误页配置,可以注释、删除或修改
error_page 404 /404.html;
error_page 502 /502.html;
#ERROR-PAGE-END

#REWRITE-END
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 204;
}
if ($request_method = 'POST') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
}
if ($request_method = 'GET') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
}
}

location /face {
#处理跨域问题开始
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain; charset=utf-8';
add_header 'Content-Length' 0;
return 204;
}

if ($request_method = 'POST') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
}

if ($request_method = 'GET') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';
}
#处理跨域问题结束

#rewrite ^/common/unauth https://xxx.com/face/common/unauth permanent;

proxy_pass http://127.0.0.1:9080/face;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}



#禁止访问的文件或目录
location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)
{
return 404;
}

#一键申请 SSL 证书验证目录相关设置
location ~ \.well-known{
allow all;
}

location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
error_log off;
access_log /dev/null;
}

location ~ .*\.(js|css)?$
{
expires 12h;
error_log off;
access_log /dev/null;
}
access_log /www/wwwlogs/xxx.com.log;
error_log /www/wwwlogs/xxx.error.log;
}
```
2019-01-24 21:28:25 +08:00
回复了 mifar 创建的主题 NGINX 遇到一个 Nginx 跨域问题,翻遍了资料还是解决不了
@Kyle18Tang 所以 Nginx 配置没问题是,是前端地址配置多了么?
2018-08-14 22:33:23 +08:00
回复了 mifar 创建的主题 云计算 有哪些成熟好用的 PHP 电商程序可以推荐?
希望有人看到
2018-07-31 12:05:27 +08:00
回复了 mifar 创建的主题 浏览器 浏览器有什么办法可以检查设备是否录屏?
@lxrmido
@maichael

届时是在我们的场地里面的,网络也是连接的我们的网络,就是设备是用户自带的。
人工检查考试人员电脑的录屏情况一是不尊重,二是藏得深也发现不了。

所以在当时就能发现录屏情况就不怕后期会泄露
2018-07-31 09:38:14 +08:00
回复了 mifar 创建的主题 浏览器 浏览器有什么办法可以检查设备是否录屏?
@lhx2008

内容是文字形式的,怕的是用户录屏后手动写出来。 这个就是目前比较尴尬的情况
2017-12-31 23:08:23 +08:00
回复了 mifar 创建的主题 分享发现 不知道大家发觉了没,阿里云 ECS 从百倍赔付转成了 SLA 模式
@just1 会有什么具体变化么
2017-02-03 20:06:49 +08:00
回复了 sinker 创建的主题 分享创造 AMM -- 我们需要的 Aria2 前端,或许只是一个 menubar
不错,赞一个~
1  2  3  4  5  6  7  8  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2747 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 40ms · UTC 10:25 · PVG 18:25 · LAX 03:25 · JFK 06:25
Developed with CodeLauncher
♥ Do have faith in what you're doing.