腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
电光石火
专栏作者
举报
935
文章
2252629
阅读量
55
订阅数
订阅专栏
申请加入专栏
全部文章(935)
java(111)
数据库(73)
php(69)
云数据库 SQL Server(59)
sql(59)
windows(58)
linux(57)
spring(57)
http(57)
tomcat(54)
html(50)
xml(46)
编程算法(45)
其他(41)
eclipse(41)
apache(41)
maven(37)
ide(33)
网站(33)
网络安全(30)
mybatis(28)
git(27)
yum(26)
容器(25)
https(25)
容器镜像服务(22)
python(21)
打包(21)
jar(21)
nginx(21)
javascript(20)
存储(20)
云数据库 Redis(19)
centos(18)
tcp/ip(18)
json(17)
ajax(17)
数据处理(17)
缓存(16)
svn(15)
gradle(15)
配置(15)
开源(14)
jdk(14)
bash(12)
android(12)
微信(12)
github(11)
bash 指令(11)
dns(11)
servlet(10)
命令行工具(10)
ssh(10)
jenkins(10)
iis(10)
jquery(9)
mvc(9)
grep(9)
list(9)
access(8)
c++(7)
go(7)
.net(7)
单片机(7)
文件存储(7)
spring boot(7)
hashmap(7)
ftp(7)
vue.js(6)
node.js(6)
ubuntu(6)
腾讯云测试服务(6)
npm(6)
exe(6)
系统(6)
oracle(5)
api(5)
jdbc(5)
虚拟化(5)
app(5)
bat(5)
microsoft(5)
编辑器(5)
函数(5)
bootstrap(4)
css(4)
ruby on rails(4)
unix(4)
SSL 证书(4)
云推荐引擎(4)
mongodb(4)
人工智能(4)
jvm(4)
spring cloud(4)
socket编程(4)
安全(4)
ip(4)
null(4)
url(4)
程序(4)
进程(4)
网络(4)
远程桌面(4)
搜索引擎(3)
lucene/solr(3)
thinkphp(3)
日志服务(3)
NAT 网关(3)
图像处理(3)
shell(3)
html5(3)
正则表达式(3)
markdown(3)
rabbitmq(3)
小程序(3)
数据分析(3)
nat(3)
class(3)
default(3)
file(3)
root(3)
set(3)
vi(3)
win10(3)
磁盘(3)
登录(3)
工具(3)
计算机(3)
数组(3)
字符串(3)
费用中心(2)
ios(2)
c#(2)
actionscript(2)
webpack(2)
压力测试(2)
爬虫(2)
gui(2)
unity(2)
asp(2)
gcc(2)
lnmp(2)
微服务(2)
admin(2)
config(2)
configuration(2)
controller(2)
cv2(2)
edit(2)
feign(2)
field(2)
get(2)
hystrix(2)
import(2)
init(2)
input(2)
limit(2)
local(2)
ls(2)
mkdir(2)
mysql(2)
path(2)
pip(2)
public(2)
reset(2)
restart(2)
router(2)
server(2)
size(2)
sudo(2)
tar(2)
web(2)
websocket(2)
winsock(2)
word(2)
zip(2)
编译(2)
部署(2)
插件(2)
分页(2)
服务(2)
集合(2)
集群(2)
镜像(2)
局域网(2)
开发(2)
排序(2)
软件(2)
手机(2)
数据(2)
搜索(2)
同步(2)
异步(2)
源码(2)
负载均衡(1)
区块链(1)
机器学习(1)
iphone(1)
xcode(1)
ruby(1)
erlang(1)
r 语言(1)
ecmascript(1)
memcached(1)
web.py(1)
windows server(1)
apt-get(1)
神经网络(1)
深度学习(1)
云数据库 MongoDB(1)
VPN 连接(1)
全站加速网络(1)
消息队列 CMQ 版(1)
金融(1)
o2o(1)
yarn(1)
babel.js(1)
游戏(1)
分布式(1)
自动化(1)
运维(1)
wordpress(1)
sql server(1)
面向对象编程(1)
opencv(1)
zookeeper(1)
seo(1)
flash(1)
udp(1)
kernel(1)
uml(1)
ntp(1)
数据结构(1)
网站建设(1)
mqtt(1)
kafka(1)
任务调度(1)
angel(1)
jupyter notebook(1)
ipv6(1)
es(1)
验证码(1)
流计算 Oceanus(1)
action(1)
apple(1)
async(1)
authentication(1)
auto(1)
base64(1)
bmp(1)
branch(1)
bug(1)
byte(1)
c3p0(1)
carousel(1)
clock(1)
cloud(1)
cmd(1)
com(1)
cookie(1)
data(1)
date(1)
delay(1)
disk(1)
dos(1)
driver(1)
duration(1)
el(1)
email(1)
environment(1)
error(1)
explorer(1)
fastjson(1)
filenotfoundexception(1)
gif(1)
glibc(1)
hashset(1)
hostname(1)
hql(1)
icloud(1)
include(1)
ini(1)
intel(1)
interface(1)
jackson(1)
java8(1)
jpeg(1)
layui(1)
line(1)
locale(1)
localhost(1)
location(1)
map(1)
match(1)
maven3(1)
max(1)
menu(1)
model(1)
module(1)
network(1)
offline(1)
openssl(1)
pagination(1)
photoshop(1)
pid(1)
png(1)
preferences(1)
private(1)
project(1)
promise(1)
properties(1)
ps(1)
pyqt5(1)
rancher(1)
redis(1)
regexp(1)
request(1)
ribbon(1)
scheme(1)
security(1)
service(1)
session(1)
sh(1)
shutdown(1)
sort(1)
space(1)
ssl(1)
string(1)
substr(1)
supervisor(1)
supervisord(1)
tabs(1)
terminal(1)
timeout(1)
trace(1)
txt(1)
undefined(1)
version(1)
viewer(1)
virtual(1)
vmware(1)
war(1)
watch(1)
width(1)
wifi(1)
windows10(1)
遍历(1)
测试(1)
存储过程(1)
电子商务(1)
动画(1)
服务器(1)
工具类(1)
工业互联网(1)
工作流(1)
管理(1)
教程(1)
解决方案(1)
客户端(1)
快捷键(1)
连接(1)
路由(1)
命令行(1)
模型(1)
内核(1)
权限(1)
设计(1)
事件(1)
树莓派(1)
索引(1)
统计(1)
文件系统(1)
虚拟机(1)
压缩(1)
隐私(1)
硬件(1)
语法(1)
域名(1)
重定向(1)
主机(1)
注解(1)
搜索文章
搜索
搜索
关闭
nginx添加模块
nginx
打包
1.停止现在运行的nginx并备份原来编译好的nginx nginx -s stop cp /usr/sbin/nginx /usr/sbin/nginx.bak
似水的流年
2020-02-17
890
0
springcloud获取nginx反向代理后浏览器的真实ip
nginx
ip
location
配置
第一步:在nginx的location中添加如下配置: location / { proxy_pass http://127.0.0.1:9999; proxy_connect_timeout 180; proxy_send_timeout 180; proxy_read_timeout 180; proxy_set_header Host $host:$server_port;
似水的流年
2020-02-17
2.1K
0
nginx在windows系统中如何启动、重启、停止
nginx
查看nginx的版本号:nginx -v 启动nginx:start nginx 快速停止或关闭nginx:nginx -s stop 正常停止或关闭nginx:nginx -s quit 配置文件nginx.conf修改重装载命令:nginx -s reload
似水的流年
2019-12-13
14.5K
0
tengine+tomcat+php安装
nginx
在安装tengine之前,确认centos环境中有无gcc、pcre、openssl,如果没有按以下命令进行安装
似水的流年
2019-12-11
413
0
Nginx多站点设置及负载均衡
nginx
网站
apache
tomcat
IP地址: 1.1.1.1 域名1 example1.com 放在 /webapp/example1 域名2 example2.com 放在 /webapp/example2
似水的流年
2019-12-11
1.4K
0
配置nginx.conf实现负载均衡
web.py
单片机
php
nginx
java
http { include mime.types; default_type application/octet-stream; server_names_hash_bucket_size 128; client_header_buffer_size 32k; large_client_header_buffers 4 32k; client_max_body_size 8m; sendfile on; keepalive_timeout 60; gzip on; #负载均衡 upstream tomcat_proxy{ server localhost:8080 max_fails=3 weight=1 fail_timeout=60s; server localhost:9080 max_fails=3 weight=1 fail_timeout=60s; } server { listen 80; server_name www.abc.com; index index.jsp index.php index.do index.jsp; access_log logs/www.abc.com_access_nginx.log; error_log logs/www.abc.com_error.log; root /var/www/nginx; #nginx默认根目录 location ~ \.(php|php5)$ { #支持php fastcgi_pass unix:/var/run/php-fpm.sock; #php-fpm.sock模块 fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; include fastcgi_params; include fastcgi.conf; } location ~ \.(jsp|do)$ { #jsp,do等页面交由tomcat处理 proxy_pass tomcat_proxy; proxy_set_header HOST $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } }
似水的流年
2019-12-11
477
0
FastDFS V5.12分布式文件系统介绍
http
文件存储
存储
负载均衡
nginx
最近要用到fastDFS,所以自己研究了一下,在搭建FastDFS的过程中遇到过很多的问题,为了能帮忙到以后搭建FastDFS的同学,少走弯路,与大家分享一下。FastDFS的作者淘宝资深架构余庆,这个优秀的轻量及的分布式文件系统的开源没多久,立马就火了。由于篇幅较大,本博文共四篇,第一篇主要介绍FastDFS,下载相关软件包,为搭建做好准备。第二篇会讲到在CentOS下搭建FastDFS的详细过程。第三篇,会讲到整合nginx详细内容。第四篇主要讲FastDFS在怎么用fastdfs-client-java连接,并结合实例。
似水的流年
2019-12-06
488
0
Error during WebSocket handshake: Unexpected response code
网站
http
socket编程
nginx
nginx文件的location中添加 proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; 第一行告诉Nginx在与Node后端通信时使用HTTP / 1.1,这是WebSockets所必需的。接下来的两行告诉Nginx响应升级请求,当浏览器想要使用WebSocket时,该请求由HTTP启动。这三行都是必须添加的。
似水的流年
2019-12-05
2.1K
0
nginx配置SSL证书
nginx
ide
然后使用保存配置文件,使用nginx -t命令对文件对配置文件进行校验,如果看到successful表示文件格式证书,这时候我们就可以启动nginx服务或者重新加载nginx配置文件。 启动nginx服务:service nginx start 重新加载配置文件:nginx -s reload
似水的流年
2019-12-05
3.6K
0
centos安装nginx
nginx
http
https
网络安全
SSL 证书
1.安装gcc gcc是用来编译下载下来的nginx源码 yum install gcc-c++
似水的流年
2019-12-05
700
0
上传文件报413 Request Entity Too Large错误解决办法
http
nginx
可以选择在http{ }中设置:client_max_body_size 20m; 也可以选择在server{ }中设置:client_max_body_size 20m; 还可以选择在location{ }中设置:client_max_body_size 20m; 三者有区别 设置到http{}内,控制全局nginx所有请求报文大小 设置到server{}内,控制该server的所有请求报文大小 设置到location{}内,控制满足该路由规则的请求报文大小
似水的流年
2019-12-05
1.7K
0
如何让nginx显示文件夹目录
nginx
vi /usr/local/nginx/conf/nginx.conf #编辑配置文件,在server {下面添加以下内容:
似水的流年
2019-12-04
1.9K
0
FastDFS V5.12分布式文件系统介绍
分布式
开源
nginx
java
最近要用到fastDFS,所以自己研究了一下,在搭建FastDFS的过程中遇到过很多的问题,为了能帮忙到以后搭建FastDFS的同学,少走弯路,与大家分享一下。FastDFS的作者淘宝资深架构余庆,这个优秀的轻量及的分布式文件系统的开源没多久,立马就火了。由于篇幅较大,本博文共四篇,第一篇主要介绍FastDFS,下载相关软件包,为搭建做好准备。第二篇会讲到在CentOS下搭建FastDFS的详细过程。第三篇,会讲到整合nginx详细内容。第四篇主要讲FastDFS在怎么用fastdfs-client-java连接,并结合实例。
似水的流年
2018-08-10
1.2K
0
如何让nginx显示文件夹目录
nginx
html
dns
容器镜像服务
1. 如何让nginx显示文件夹目录 vi /etc/nginx/conf.d/default.conf 添加如下内容: location / { root /data/www/file //指定实际目录绝对路径; autoindex on; //开启目录浏览功能; autoindex_exact_size off;
似水的流年
2018-01-18
2.4K
0
tengine+tomcat+php安装
nginx
tomcat
php
在安装tengine之前,确认centos环境中有无gcc、pcre、openssl,如果没有按以下命令进行安装 #yum install gcc #yum -y install pcre-devel 安装最新版本:pcre-devel-7.8-6.el6.i686 #yum install openssl-devel 安装最新版本:openssl-devel-1.0.1e-30.el6_6.5.i686 开始安装tengine,注意确认有无nginx用户和app用户组,或者根据自身情况更改 #w
似水的流年
2018-01-18
561
0
配置nginx.conf实现负载均衡
nginx
编辑/usr/local/nginx/conf/nginx.conf http { include mime.types; default_type application/octet-stream; server_names_hash_bucket_size 128; client_header_buffer_size 32k; larg
似水的流年
2018-01-18
626
0
Nginx多站点设置及负载均衡
nginx
apache
apache端口88 tomcat端口8080 多个.conf方法(优点是灵活,缺点就是站点比较多配置起来麻烦) 这里以配置2个站点(2个域名)为例,n 个站点可以相应增加调整,假设: IP地址: 1.1.1.1 域名1 example1.com 放在 /webapp/example1 域名2 example2.com 放在 /webapp/example2 配置 nginx virtual hosting 的基本思路和步骤如下: 把2个站点 example1.com,
似水的流年
2018-01-18
1.5K
0
如何让nginx显示文件夹目录
nginx
dns
容器镜像服务
vi /etc/nginx/conf.d/default.conf
似水的流年
2018-01-14
2K
0
Nginx多站点设置及负载均衡
nginx
apache端口88 tomcat端口8080
似水的流年
2018-01-14
2K
0
配置nginx.conf实现负载均衡
nginx
编辑/usr/local/nginx/conf/nginx.conf
似水的流年
2018-01-14
662
0
点击加载更多
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
立即发文
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档