首页
关于
壁纸
直播
留言
友链
统计
Search
1
《吞食天地1》金手指代码
8,041 阅读
2
白嫖Emby
7,009 阅读
3
Emby客户端IOS破解
6,951 阅读
4
《三国志英杰传》攻略
6,800 阅读
5
破解emby-server
4,598 阅读
moonjerx
game
age-of-empires
zx3
san-guo-zhi
尼尔:机械纪元
net
emby
learn-video
docker
torrent
photoshop
route
minio
git
ffmpeg
im
vue
gitlab
typecho
svn
alipay
nasm
srs
mail-server
tailscale
kkfileview
aria2
webdav
synology
redis
oray
chemical
mxsite
math
π
x-ui
digital-currency
server
nginx
baota
k8s
http
cloud
linux
shell
database
vpn
esxi
rancher
domain
k3s
ewomail
os
android
windows
ios
app-store
macos
develop
java
javascript
uniapp
nodejs
hbuildx
maven
android-studio
jetbrain
jenkins
css
mybatis
php
python
hardware
hard-disk
pc
RAM
software
pt
calibre
notion
office
language
literature
philosophy
travel
登录
Search
标签搜索
ubuntu
mysql
openwrt
zerotier
springboot
centos
openvpn
jdk
吞食天地2
synology
spring
idea
windows11
吞食天地1
transmission
google-play
Japanese
xcode
群晖
kiftd
MoonjerX
累计撰写
383
篇文章
累计收到
466
条评论
首页
栏目
moonjerx
game
age-of-empires
zx3
san-guo-zhi
尼尔:机械纪元
net
emby
learn-video
docker
torrent
photoshop
route
minio
git
ffmpeg
im
vue
gitlab
typecho
svn
alipay
nasm
srs
mail-server
tailscale
kkfileview
aria2
webdav
synology
redis
oray
chemical
mxsite
math
π
x-ui
digital-currency
server
nginx
baota
k8s
http
cloud
linux
shell
database
vpn
esxi
rancher
domain
k3s
ewomail
os
android
windows
ios
app-store
macos
develop
java
javascript
uniapp
nodejs
hbuildx
maven
android-studio
jetbrain
jenkins
css
mybatis
php
python
hardware
hard-disk
pc
RAM
software
pt
calibre
notion
office
language
literature
philosophy
travel
页面
关于
壁纸
直播
留言
友链
统计
搜索到
383
篇与
moonjerx
的结果
2023-03-16
the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf
一、开始Nginx的SSL模块这是由于在安装nginx时,自定义编译配置没有添加ssl模块。打开nginx源码安装包目录,执行编译命令 ./configure 时要带上ssl模块。1.1 Nginx如果未开启SSL模块,配置Https时提示错误 原因也很简单,nginx缺少 http_ssl_module 模块,编译安装的时候带上 --with-http_ssl_module 配置就行了,但是现在的情况是我的nginx已经安装过了,怎么添加模块,其实也很简单,往下看: 做个说明:我的nginx的安装目录是 /usr/local/nginx 这个目录,我的源码包在 /usr/local/src/nginx-1.6.2 目录nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:371.2 Nginx开启SSL模块查看nginx原有的模块/usr/local/nginx/sbin/nginx -V在configure arguments:后面显示的原有的configure参数如下:--prefix=/usr/local/nginx --with-http_stub_status_module那么我们的新配置信息就应该这样写./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module运行上面的命令即可,等配置完。配置完成后,运行命令 make 执行编译。这里不要进行 make install ,否则就是覆盖安装。可以先备份原nginx再替换。cp /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.bak然后将刚刚编译好的nginx覆盖掉原有的nginx(这个时候nginx要停止状态)cp ./objs/nginx /usr/local/nginx/sbin/然后启动nginx,仍可以通过命令查看是否已经加入成功/usr/local/nginx/sbin/nginx -V 二、Nginx 配置Http和Https共存server { listen 80 default backlog=2048; listen 443 ssl; server_name wosign.com; root /var/www/html; ssl_certificate /usr/local/Tengine/sslcrt/ wosign.com.crt; ssl_certificate_key /usr/local/Tengine/sslcrt/ wosign.com .Key; }把ssl on;这行去掉,ssl写在443端口后面。这样http和https的链接都可以用三、Nginx 配置SSL安全证书重启避免输入密码可以用私钥来做这件事。生成一个解密的key文件,替代原来key文件。openssl rsa -in server.key -out server.key.unsecure四、Nginx SSL性能调优ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m;
2023年03月16日
295 阅读
0 评论
0 点赞
2023-03-16
nginx启用域名访问,禁止ip直接访问
server { listen 80; server_name www.test.com; //这里写你的域名 //加上如下一段规则,www.test.com换成你想设定的域名 if ($host != 'www.test.com'){ return 403; } }
2023年03月16日
126 阅读
0 评论
0 点赞
2023-03-10
docker删除容器报错:Error response from daemon: container : driver "btrfs" failed to remove root filesystem
起因去年底群晖突然崩溃,报硬盘损毁。经过一番折腾,猜测可能是docker长期运行导致系统文件积压,系统分区爆满100%。群晖系统自身的系统机制有问题,属于硬盘损毁误报。经过重置群晖系统:找根细长棍子捅群晖盒子后边的重置按键,听到“哔”声后放开,再次按重置按键,再次听到“哔”声后放开。群晖系统被彻底删除重置。去官网下载自己想要的群晖系统版本,重新安装后,文件系统被保留。包括之前的docker文件及隐藏的docker容器文件,但是note station之类的套件文件就全部丢失了。但是docker文件会出现复杂的权限问题,且docker容器变得不可直接操作删除,会提示命令执行失败。命令行删除也会报以下错误提示:{callout color="#f0ad4e"}Error response from daemon: container 40388a7baf0be5d11e535ffba5b5e0c9ecd433c55fb72cefc7d7a229476ec8d8: driver "btrfs" failed to remove root filesystem: Failed to destroy btrfs snapshot /volume4/@docker/btrfs/subvolumes for c95eadd02c3472304a3100b0b98b65116a89f13d9c774da6c3fc3cc1fc83c40c: invalid argument{/callout}解决方法命令行打开到docker应用的安装目录 /volume4/@docker/btrfs/subvolumes 然后执行命令 rm -rf c95eadd02c3472304a3100b0b98b65116a89f13d9c774da6c3fc3cc1fc83c40c 之后再执行 docker rm xxxxx 命令删除想要删除的容器
2023年03月10日
463 阅读
0 评论
0 点赞
2023-03-07
macos禁用休眠
https://aimac.top/post/2302117.htmlsudo pmset -a standby 0 sleep 20 hibernatemode 3 networkoversleep 0 force
2023年03月07日
154 阅读
0 评论
0 点赞
2023-02-13
竞斗云挟持升级刷不死系统
暂无简介
2023年02月13日
89 阅读
0 评论
0 点赞
1
...
18
19
20
...
77
您的IP: