V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  yuanyuandeqiu  ›  全部回复第 1 页 / 共 1 页
回复总数  12
321 天前
回复了 yuanyuandeqiu 创建的主题 问与答 idea translate 不能使用谷歌翻译了
@1194129822 @hzdzyx @iold idea 内设置了代理,之前都是可以用的,下午有一段时间不行,现在又好了
2023-11-14 22:23:37 +08:00
回复了 lijianmin321 创建的主题 分享创造 V 站老哥太热情了, Airy 永久会员加送 9000,凑到 1 万
2023-08-17 12:31:24 +08:00
回复了 yuanyuandeqiu 创建的主题 NGINX Nginx 配置疑问
@yulgang 已经解决了,现在可以用固定的配置访问了
2023-08-11 17:47:46 +08:00
回复了 yuanyuandeqiu 创建的主题 NGINX Nginx 配置疑问
@yulgang nginx -T 感觉没什么问题
2023-08-11 17:46:57 +08:00
回复了 yuanyuandeqiu 创建的主题 NGINX Nginx 配置疑问
# configuration file D:\programe\nginx-1.24.0/conf/mime.types:

types {
text/html html htm shtml;
text/css css;
text/xml xml;
image/gif gif;
image/jpeg jpeg jpg;
application/javascript js;
application/atom+xml atom;
application/rss+xml rss;

text/mathml mml;
text/plain txt;
text/vnd.sun.j2me.app-descriptor jad;
text/vnd.wap.wml wml;
text/x-component htc;

image/avif avif;
image/png png;
image/svg+xml svg svgz;
image/tiff tif tiff;
image/vnd.wap.wbmp wbmp;
image/webp webp;
image/x-icon ico;
image/x-jng jng;
image/x-ms-bmp bmp;

font/woff woff;
font/woff2 woff2;

application/java-archive jar war ear;
application/json json;
application/mac-binhex40 hqx;
application/msword doc;
application/pdf pdf;
application/postscript ps eps ai;
application/rtf rtf;
application/vnd.apple.mpegurl m3u8;
application/vnd.google-earth.kml+xml kml;
application/vnd.google-earth.kmz kmz;
application/vnd.ms-excel xls;
application/vnd.ms-fontobject eot;
application/vnd.ms-powerpoint ppt;
application/vnd.oasis.opendocument.graphics odg;
application/vnd.oasis.opendocument.presentation odp;
application/vnd.oasis.opendocument.spreadsheet ods;
application/vnd.oasis.opendocument.text odt;
application/vnd.openxmlformats-officedocument.presentationml.presentation
pptx;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
xlsx;
application/vnd.openxmlformats-officedocument.wordprocessingml.document
docx;
application/vnd.wap.wmlc wmlc;
application/wasm wasm;
application/x-7z-compressed 7z;
application/x-cocoa cco;
application/x-java-archive-diff jardiff;
application/x-java-jnlp-file jnlp;
application/x-makeself run;
application/x-perl pl pm;
application/x-pilot prc pdb;
application/x-rar-compressed rar;
application/x-redhat-package-manager rpm;
application/x-sea sea;
application/x-shockwave-flash swf;
application/x-stuffit sit;
application/x-tcl tcl tk;
application/x-x509-ca-cert der pem crt;
application/x-xpinstall xpi;
application/xhtml+xml xhtml;
application/xspf+xml xspf;
application/zip zip;

application/octet-stream bin exe dll;
application/octet-stream deb;
application/octet-stream dmg;
application/octet-stream iso img;
application/octet-stream msi msp msm;

audio/midi mid midi kar;
audio/mpeg mp3;
audio/ogg ogg;
audio/x-m4a m4a;
audio/x-realaudio ra;

video/3gpp 3gpp 3gp;
video/mp2t ts;
video/mp4 mp4;
video/mpeg mpeg mpg;
video/quicktime mov;
video/webm webm;
video/x-flv flv;
video/x-m4v m4v;
video/x-mng mng;
video/x-ms-asf asx asf;
video/x-ms-wmv wmv;
video/x-msvideo avi;
}
2023-08-11 17:46:20 +08:00
回复了 yuanyuandeqiu 创建的主题 NGINX Nginx 配置疑问
nginx: the configuration file D:\programe\nginx-1.24.0/conf/nginx.conf syntax is ok
nginx: configuration file D:\programe\nginx-1.24.0/conf/nginx.conf test is successful
# configuration file D:\programe\nginx-1.24.0/conf/nginx.conf:

worker_processes 1;

events {
worker_connections 1024;
}


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


sendfile on;
tcp_nopush on;
tcp_nodelay on;

keepalive_timeout 65;

gzip on;
gzip_disable "msie6";

server {
listen 80;
server_name localhost;

location /scoreserv {
proxy_pass http://127.0.0.1:8080;
}
location / {
proxy_pass https://example1.com/;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}

server {
listen 82;
location / {
proxy_pass https://example2.com;

}

location /api {
proxy_pass http://127.0.0.1:8848;
}

}

}
2023-08-11 17:12:38 +08:00
回复了 yuanyuandeqiu 创建的主题 NGINX Nginx 配置疑问
@skiy 看日志的话 URI 是一样的
@yulgang 之前的话是两个都不行,报 404 ,然后我开了个无痕模式就可以了,再然后就出现两个地址轮流出问题的情况,不知道和缓存有没有关系
@maclanelf134 其他人的都没问题,应该是我的问题,一样的配置就我的会这样,不知道和 nginx 版本有没有关系
2023-08-11 16:57:32 +08:00
回复了 yuanyuandeqiu 创建的主题 NGINX Nginx 配置疑问
@CnpPt 加不加/的区别有什么区别吗,这个我不知道

然后这个是两个都会出现无法使用的情况,然后改成另一个就可以了,这期间域名也没有改变
2023-06-07 16:44:07 +08:00
回复了 yuanyuandeqiu 创建的主题 Java Java 优先队列问题
@Nazz
@jamezee
感谢
2023-06-07 16:13:59 +08:00
回复了 yuanyuandeqiu 创建的主题 Java Java 优先队列问题
debug 的时候 q 的顺序和 System.out.println 打印出来的一致,这是为什么
2023-06-07 16:08:09 +08:00
回复了 yuanyuandeqiu 创建的主题 Java Java 优先队列问题
@Nazz
@Zakl21
感谢,那 debug 的时候是不是也是无序的
2023-06-03 19:52:38 +08:00
回复了 yuanyuandeqiu 创建的主题 问与答 Java 线程池参数设置
这是个面试题,没有具体信息了,我就是想问问大家,看一下这种情况应该怎么分析

感谢大家回复
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1679 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 16:48 · PVG 00:48 · LAX 08:48 · JFK 11:48
Developed with CodeLauncher
♥ Do have faith in what you're doing.