摘要:
我绑定端口之后,直接启动nginx服务。输入我绑定的端口居然没有跳转到我想要的地方。 直接报错400. 我还是直接避开了80这个常用端口,用的8085,结果还是嗝屁了。 打开日志 An attempt was made to access a socket in a way forbidden by 阅读全文
posted @ 2020-11-16 23:03
RookieCoderAdu
阅读(81)
评论(0)
推荐(0)
摘要:
1.Nginx下载,解压 2.跳转 解压目录/comf/nginx.conf 打开 3.找到server, 修改listen监听端口为8085(随便) 4.找到localtion / 修改内容为 proxy_pass http://backend. 表示转发路径,别名为backend 5.在serv 阅读全文
posted @ 2020-11-16 22:48
RookieCoderAdu
阅读(132)
评论(0)
推荐(0)
摘要:
//读取连接字符串 string conn =System.Configuration.ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString; //读取appsetting配置 string GrpC 阅读全文
posted @ 2020-11-16 14:17
RookieCoderAdu
阅读(364)
评论(0)
推荐(0)