致力于提供有竞争力的软件解决方案和服务,德尚网络欢迎您!
技术/产品咨询
技术/产品咨询
    • - 微信扫一扫 -

      QQ:181814630

      电话:15116362044

DSO2O演示
DSMall演示
DS多平台演示
  • DSPlatform(多平台系统)演示地址及账号
    支持普通店铺,外卖店铺,上门家政,上门服务,视频教育等,Thinkphp8.0+uniapp+mysql+Vue3,拓展性强,商户可开多个不同类型店铺,
    演示角色 演示地址 账号 密码
    后台PC端 点击进入 test 123456
    商户PC端(可开多个店铺) 点击进入 seller 123456
    店铺管理PC端 点击进入 seller 123456
    手机端 点击进入 test 123456
    骑手端 点击进入 test 123456
    师傅端 点击进入 test 123456
    短视频 点击进入 test 123456
    DSPlatform(多平台系统)uniapp移动端二维码演示地址
    • 用户端

    • 机构端

DSO2O 反向代理

nginx

location ^~/bmap/ {

    add_header Access-Control-Allow-Methods GET,POST,OPTIONS;

    add_header Access-Control-Allow-Credentials true;

    add_header 'access-control-allow-headers' 'Authentication,Origin,X-Requested-With,Content-Type,Accept,token,appId,unitId';

    proxy_pass https://api.map.baidu.com/;

}

apache

1)、首先确保Apache有这些模块,在Apache根目录下确认有这些模块,主要包含以下模块:

mod_proxy.so

mod_proxy_ajp.so

mod_proxy_balancer.so

mod_proxy_connect.so

mod_proxy_http.so

mod_slotmem_shm.so

2)、修改配置文件, 打开文件 conf/extra/httpd-ssl.conf 


    ServerAdmin 你的网址
    ServerName 你的网址
    SSLEngine on
    SSLProxyEngine On
    SSLProxyCheckPeerCN Off
    SSLProxyCheckPeerName Off
    SSLProxyVerify none
    SSLCertificateFile cert/你的证书.pem
    SSLCertificateKeyFile cert/你的证书.key
    SSLCertificateChainFile cert/你的证书.pem

    
        Order deny,allow
        Allow from all
    
    ProxyPreserveHost On
    ProxyRequests Off
    ProxyPass /bmap https://api.map.baidu.com
    ProxyPassReverse /bmap https://api.map.baidu.com


上一篇:暂时没有了

下一篇:DSO2O 资料准备