独舞

  • 首页
  • 程序开发
    • Java
    • 容器
    • 数据库
    • Javascirpt
    • 前端
  • Linux相关
  • 路由和网络
  • 苹果相关
  • 关于
    • 简历
前端
Javascirpt

Nginx 反向代理HTTPS服务出现502错误的解决方案

nginx 反向代理配置文件修改为以下代码即可: proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; proxy_ssl_session_reuse off; proxy_ssl_server_name on; proxy_ssl_name 这里填 ssl 的域名; proxy_s…

2022年9月19日 0条评论 100点热度 0人点赞 Phil 阅读全文
前端

解决Nginx反向代理https502错误的问题

location ^~ / { proxy_pass https://www.binance.com/bapi/asset/v1/public/asset-service/product/currency; proxy_set_header Host www.binance.com; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_heade…

2022年3月11日 0条评论 377点热度 0人点赞 Phil 阅读全文
前端

ThinkPHP使用nginx后无法显示验证码的问题

location / {  root /var/www;  index index.html index.htm index.php;  if (!-e $request_filename) {  rewrite ^/index.php(.*)$ /index.php?s=$1 last;  rewrite ^(.*)$ /in…

2016年5月30日 0条评论 516点热度 0人点赞 Phil 阅读全文
前端

php中http到https的自动跳转

做这个的前提是,先自行配置好https环境。 接下来在首页的位置加上 <?php switch ($_SERVER["HTTP_HOST"])  { case "mmgg.net":  header("location:https://www.mmgg.net");  break; } //http转化为https   if ($_SERVER["HTTPS&q…

2016年4月25日 0条评论 529点热度 1人点赞 Phil 阅读全文

Phil

一直以来
我只有前进才能忘记羞辱的历史
所以
还有很多事情
需要我去做
也有很多事情
我必须要做

搬瓦工
分类
  • Java / 32篇
  • Javascirpt / 1篇
  • Linux / 40篇
  • Mac / 2篇
  • 前端 / 4篇
  • 区块链 / 2篇
  • 容器 / 8篇
  • 数据库 / 1篇
  • 服务器主机 / 2篇
  • 未分类 / 12篇
  • 程序开发 / 1篇
  • 路由器 / 14篇
标签聚合
ethereum 日志 搬瓦工 java bat slf4j docker powershell

COPYRIGHT © 2021 mmgg.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

粤ICP备09207437号-5