-
Solo 访问报 Latke 配置错误
2020-06-09 08:32upstream backend { server localhost:8080; # Solo 监听端口 } server { listen 443 ssl; server_name localhost; # ssl on; #charset koi8-r; #access_log /var/log/nginx/host.access.log main; ssl_certificate /ssl/2_www.acwing.top.pem; # ssl 证书目录 ssl_certificate_key /ssl/1_www.acwing.top.key; ssl_session_timeout 5m; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE; ssl_prefer_server_ciphers on; location / { proxy_pass http://backend$request_uri; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; client_max_body_size 10m; } } server{ listen 80; server_name www.acwing.top; rewrite ^(.*) https://${server_name}$1 permanent; }
-
Solo 访问报 Latke 配置错误
2020-06-09 08:30docker run --detach --name solo --network=host
--env RUNTIME_DB="MYSQL"
--env JDBC_USERNAME="root"
--env JDBC_PASSWORD="123456"
--env JDBC_DRIVER="com.mysql.cj.jdbc.Driver"
--env JDBC_URL="jdbc:
b3log/solo --listen_port=8080 --server_scheme=https --server_host=acwing.top --server_port=