V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zxCoder  ›  全部回复第 50 页 / 共 151 页
回复总数  3011
1 ... 46  47  48  49  50  51  52  53  54  55 ... 151  
2022-03-16 08:22:28 +08:00
回复了 vcfghtyjc 创建的主题 C++ 《C++ Primer》关于 reference 和 pointer 部分看的人“生气”
兼容 C 加设计考虑不全

至于楼上 c++大佬们解释的那些都是强行解释。。。

c++这个语言就是这样,很强大,但是乱,难,懂的人少,而且这些人也以乱,难为傲
楼上的大家都很硬气。。。要不是高层要不是大佬
2022-03-15 15:22:58 +08:00
回复了 iugo 创建的主题 Mac Studio Mac Studio 到底贵不贵, 写代码是否需要 Mac Studio
贵不贵得看啥牌子。。。苹果的就这个价,你要不要吧

至于需不需要,我要是有钱,我定制一个 128G 内存的哈哈哈,没钱什么都没必要
2022-03-14 08:57:08 +08:00
回复了 leomm 创建的主题 优惠信息 315 活动 腾讯云香港云服务器 约 3 年 166 元 每天 3 台
试试手气
2022-03-13 18:37:39 +08:00
回复了 Trigold 创建的主题 硬件 求各位推荐办公用笔记本
实在想不懂主贴里这几个需求是怎么能够被联想到苹果的。。。。
clion
pycharm
2022-03-12 10:52:11 +08:00
回复了 allengu2pgyer 创建的主题 程序员 求大家出出主意,我这个开源项目能赚钱吗?
城里套路深,来骗,来偷袭
@baren 这是一个 vscode 插件吧
2022-03-10 14:35:26 +08:00
回复了 zxCoder 创建的主题 问与答 关于 fetch 请求函数的问题
@liyang5945 呃呃呃 发完贴突然又好了,奇怪
2022-03-10 14:12:50 +08:00
回复了 yohole 创建的主题 Apple Apple 这个数据线价格会不会稍微有点夸张
你看现在哪有苹果数据线,你嫌贵我还嫌贵呢
你要不要,要不要!
2022-03-09 16:57:28 +08:00
回复了 Rrrrrr 创建的主题 问与答 iPad air 都上 M1 了,不知道能不能码代码用
何必呢
2022-03-09 10:27:22 +08:00
回复了 didididididi 创建的主题 问与答 用了四年的 iPhone X 要不要换 se3?
2022-03-08 12:58:23 +08:00
回复了 zxCoder 创建的主题 NGINX nginx 反向代理 minio 的 9090 端口的控制台,报 502 错误
@jowan
@dier

确实是这个问题。。。多谢多谢,原来 docker 这是关键的一点我没说明。。。
2022-03-08 11:27:39 +08:00
回复了 zxCoder 创建的主题 NGINX nginx 反向代理 minio 的 9090 端口的控制台,报 502 错误
@dier 是的,都是 docker 容器,这个有关系吗

我现在 nginx 的配置是

my.conf:

```
server {
listen 80;
server_name ip.ip.ip.ip;
return 301 https://ip.ip.ip.ip$request_uri;
}

server {
listen 443 ssl;
server_name ip.ip.ip.ip;

ssl_certificate /etc/nginx/ssl/certificate.crt;
ssl_certificate_key /etc/nginx/ssl/private.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;

location / {
root /usr/share/nginx/html/;
index index.html;
# proxy_set_header Host $http_host;
# proxy_pass http://localhost:9090;
}
}
```

nginx.conf:

```
user nginx;
worker_processes auto;

error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;


events {
worker_connections 1024;
}


http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;

sendfile on;
#tcp_nopush on;

keepalive_timeout 65;

#gzip on;

include /etc/nginx/conf.d/my.conf;
}
```

minio 没有其他的配置,就刚刚按官方文档加了 https ,现在 ssh 代理能访问 https://127.0.0.1:9090
2022-03-08 10:59:18 +08:00
回复了 zxCoder 创建的主题 NGINX nginx 反向代理 minio 的 9090 端口的控制台,报 502 错误
感觉得重装了,配置都搞乱了
2022-03-08 10:58:51 +08:00
回复了 zxCoder 创建的主题 NGINX nginx 反向代理 minio 的 9090 端口的控制台,报 502 错误
@dier 现在 http://ip 和 https://ip 都 502 了
2022-03-08 10:44:53 +08:00
回复了 zxCoder 创建的主题 NGINX nginx 反向代理 minio 的 9090 端口的控制台,报 502 错误
@Vegetable 只有 ip ,好像没法这样弄
2022-03-08 10:41:26 +08:00
回复了 zxCoder 创建的主题 NGINX nginx 反向代理 minio 的 9090 端口的控制台,报 502 错误
@dier

server {

listen 443 ssl;
ssl_certificate /etc/nginx/ssl/certificate.crt;
ssl_certificate_key /etc/nginx/ssl/private.key;

location / {
proxy_pass https://127.0.0.1:9090;
}
}


这样子直接访问 https://ip 就 502 了,但是 http://ip 又出现了 nginx 那个 index.html 。。但是我已经把其他的配置都关了
1 ... 46  47  48  49  50  51  52  53  54  55 ... 151  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1556 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 46ms · UTC 17:00 · PVG 01:00 · LAX 10:00 · JFK 13:00
Developed with CodeLauncher
♥ Do have faith in what you're doing.