Top Menu

解决artisan migrate出错Specified key was too long; max key length is 767 bytes

修改laravel/config/database.php

'mysql' => [ 'driver' => 'mysql', 'url' => env('DATABASE_URL'), 'host' => env('DB_HOST', '127.0.0.1'), 'port' => env('DB_PORT', '3306'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), ]) : [], ],

Continue Reading 0

关于V2Ray+Websocket+TLS+Apache配置实例

环境

  • V2Ray 4.23.1
  • Apache 2.4
  • v2rayN V3.18

V2Ray Config

{ "inbounds": [{ "port": 30000, "listen": "127.0.0.1", "protocol": "vmess", "settings": { "clients": [ { "id": "5df411c8-da98-44f5-ac1b-3b32ccdd8ce7", "level": 1, "alterId": 64 } ] }, "streamSettings":{ "network": "ws", "wsSettings": { "path": "/random" } } }], "outbounds": [{ "protocol": "freedom", "settings": {} },{ "protocol": "blackhole", "settings": {}, "tag": "blocked" }], "routing": { "rules": [ { "type": "field", "ip": ["geoip:private"], "outboundTag": "blocked" } ] } }

Continue Reading 0

Powered by WordPress. Designed by WooThemes