solo 页面无法正常加载
相关帖子
-
- 其他回帖
-
docker 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=********** --server_port= --lute_http=http://127.0.0.1:82491 回复 -
这是 nginx 的配置文件:
upstream backend { server localhost:8080; } server { listen 443; server_name www.rainsheep.top; access_log off; ssl on; ssl_certificate /ssl/3118615_rainsheep.top.pem; ssl_certificate_key /ssl/3118615_rainsheep.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://www.rainsheep.top:8080; #这样写的话,不能访问 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; } }
1 回复 - 查看全部回帖