kenzok8 / trojan Goto Github PK
View Code? Open in Web Editor NEWTrojan onekey install shell Trojan && trojan.go一键脚本
Home Page: https://github.com/kenzok8/Trojan
Trojan onekey install shell Trojan && trojan.go一键脚本
Home Page: https://github.com/kenzok8/Trojan
Error: unknown command "install" for "caddy"
Run 'caddy --help' for usage.
[错误] caddy后台管理服务安装 失败
使用
[Sat 26 Jun 2021 07:29:18 PM CST] acme.sh is using ZeroSSL as default CA now.
[Sat 26 Jun 2021 07:29:18 PM CST] Please update your account with an email address first.
[Sat 26 Jun 2021 07:29:18 PM CST] acme.sh --register-account -m [email protected]
[Sat 26 Jun 2021 07:29:18 PM CST] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA
[Sat 26 Jun 2021 07:29:18 PM CST] Please add '--debug' or '--log' to check more details.
[Sat 26 Jun 2021 07:29:18 PM CST] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[错误] TLS 证书生成失败
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 120;
client_max_body_size 20m;
#gzip on;
server {
listen 80;
server_name $your_domain;
root /usr/share/nginx/html;
index index.php index.html index.htm;
}
}
改为
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 120;
client_max_body_size 20m;
#gzip on;
server {
listen 127.0.0.1:80;
server_name $your_domain;
root /usr/share/nginx/html;
index index.php index.html index.htm;
#try_files $uri =404;
#fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
#fastcgi_index index.php;
}
server {
listen 0.0.0.0:80;
server_name $your_domain;
return 301 https://$your_domain$request_uri;
}
}
你这个脚本是我见过安装准备插件最全的脚本,没有之一,这点我倒是没啥
关键是您这个nginx安装编译时间也太久了,半小时左右,希望后续版本能够优化一下,还是谢谢作者。
修改 nginx 配置文件
server {
listen 127.0.0.1:80;
server_name $your_domain;
root /usr/share/nginx/html;
index index.php index.html index.htm;
}
server {
listen 0.0.0.0:80;
listen [::]:80;
server_name _;
return 301 https://$your_domain\$request_uri;
}
装好之后,用clash可以ping通,但是访问网页一直报这个错,err ssl protocol error, 是证书的问题吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.