openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
vim /etc/nginx/snippets/ssl-params.conf
ssl-params.conf, from: https://syslink.pl/cipherlist/, modify ssl_dhparam, resolver
| { | |
| "compilerOptions": { | |
| /* 基本选项 */ | |
| "target": "es5", // 指定 ECMAScript 目标版本: 'ES3' (default), 'ES5', 'ES6'/'ES2015', 'ES2016', 'ES2017', or 'ESNEXT' | |
| "module": "commonjs", // 指定使用模块: 'commonjs', 'amd', 'system', 'umd' or 'es2015' | |
| "lib": [], // 指定要包含在编译中的库文件 | |
| "allowJs": true, // 允许编译 javascript 文件 | |
| "checkJs": true, // 报告 javascript 文件中的错误 | |
| "jsx": "preserve", // 指定 jsx 代码的生成: 'preserve', 'react-native', or 'react' |
| 996d27a4134b42368422d2a03f7ddbeff0c81d3e |
openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
vim /etc/nginx/snippets/ssl-params.conf
ssl-params.conf, from: https://syslink.pl/cipherlist/, modify ssl_dhparam, resolver
| time.cloudflare.com | |
| shopify.com | |
| time.is | |
| icook.hk | |
| icook.tw | |
| ip.sb | |
| japan.com | |
| malaysia.com | |
| russia.com | |
| singapore.com |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>KeepAlive</key> | |
| <true/> | |
| <key>Label</key> | |
| <string>homebrew.mxcl.dnsmasq</string> | |
| <key>LimitLoadToSessionType</key> | |
| <array> |
| { | |
| "endOfLine": "auto", | |
| "printWidth": 120, | |
| "tabWidth": 2, | |
| "singleQuote": false, | |
| "useTabs": false, | |
| "semi": true, | |
| "trailingComma": "es5", | |
| "bracketSpacing": true, | |
| "jsxBracketSameLine": false, |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name localhost; | |
| #access_log /var/log/nginx/host.access.log main; | |
| location / { | |
| root /usr/share/nginx/html; | |
| index index.html index.htm; |
| #!/bin/sh | |
| # | |
| # CloudFlare Dynamic DNS | |
| # | |
| # Updates CloudFlare records with the current public IP address | |
| # | |
| # Takes the same basic arguments as A/CNAME updates in the CloudFlare v4 API | |
| # https://www.cloudflare.com/docs/client-api.html#s5.2 | |
| # | |
| # Use with cron jobs etc. |
| " ~/.vimrc | |
| "Linux中修改文件后即可生效 | |
| "行号 | |
| "set nu | |
| "语法高亮 | |
| syntax on | |
| set shiftwidth=4 |