-
心塞,关于博客部署,都是按照步骤配的
2018-08-02 14:38楼主窝给你看下窝的配置
首先是 Nginx
user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/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 /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; keepalive_timeout 65; #gzip on; upstream backend { server localhost:8080; } server { listen 80; server_name vinasis.com www.vinasis.com; rewrite ^ https://$http_host$request_uri? permanent; # force redirect http to https return 301 https://$http_host$request_uri; } server { listen 443 ssl; server_name www.vinasis.net; #证书配置 ssl_certificate "/etc/nginx/www.vinasis.net_ca.crt"; ssl_certificate_key "/etc/nginx/www.vinasis.net.key"; ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; location ^~ / { proxy_pass http://backend$request_uri; proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto https; client_max_body_size 10m; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html { } } }
**** 汤姆猫配置 ****
默认 8080 不变
默认 Host 设置成 域名
然后修改对应的 HOST 指向 solo 路径
-
多家疫苗企业造假, 多年卖假疫苗害人无数
2018-07-23 14:34东三省企业本来都是很优秀的毕竟是苏联和日本遗留产业,在三鹿奶粉事件发生的时候黑龙江甚至无一家厂商有问题。这次疫苗企业主要负责人高俊芳是天津人。