-
Solo 博客后台进不去
2020-01-27 19:31user nobody; worker_processes 2; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 2048; } http { include 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 logs/access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; server { listen 443 ssl; server_name ltc.shadowmoon.online; #add_header Content-Security-Policy upgrade-insecure-requests; client_max_body_size 50M; client_body_buffer_size 50M; proxy_buffers 32 3M; proxy_buffer_size 3M; proxy_busy_buffers_size 3M; proxy_temp_file_write_size 10M; client_body_timeout 60; client_header_timeout 60; send_timeout 60; #ssl on; #charset koi8-r; #access_log /var/log/nginx/host.access.log main; ssl_certificate /dockerData/nginx/ssl/2519347_ltc.shadowmoon.online.pem; # ssl 证书目录 ssl_certificate_key /dockerData/nginx/ssl/2519347_ltc.shadowmoon.online.key; # ssl 证书秘钥 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://118.25.59.59:8080; proxy_pass_request_headers off; proxy_http_version 1.1; } location ~ .*\.(js|css|jpg|png)$ { proxy_pass http://118.25.59.59:8080; proxy_set_header Host $http_host; proxy_http_version 1.1; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } } server { listen 80; listen [::]:80; server_name ltc.shadowmoon.online; return 301 https://$host$request_uri; rewrite ^(.*) https://$host$1 permanent; } }
-
Solo 博客后台进不去
2020-01-27 17:55docker run --detach --name solo --network=host --env RUNTIME_DB="MYSQL" --env JDBC_USERNAME="root" --env JDBC_PASSWORD="admin123456" --env JDBC_DRIVER="com.mysql.cj.jdbc.Driver" --env JDBC_URL="jdbc: 88250/solo --listen_port=8080 --server_scheme=https --server_host=ltc.shadowmoon.online --server_port=