当前位置: 首页 > news >正文

做网站抽奖系统网站如何paypal支付

做网站抽奖系统,网站如何paypal支付,做网站会遇到哪些问题,crm客户管理系统官网后端部署 按需修改 application-prod.yml 例如验证码方式、登录状态到期时间等等。 修改完成后打好 Jar 包 执行完成后会生成最终可执行的 jar。JPA版本是 2.6#xff0c;MyBatis 版本是 1.1。 启动命令 nohup java -jar eladmin-system-2.6.jar --spring.profiles.active…后端部署 按需修改 application-prod.yml 例如验证码方式、登录状态到期时间等等。 修改完成后打好 Jar 包 执行完成后会生成最终可执行的 jar。JPA版本是 2.6MyBatis 版本是 1.1。 启动命令 nohup java -jar eladmin-system-2.6.jar --spring.profiles.activeprod nohup.out 21 如果使用了CICD 工具可能还需要停止的 PID$(ps -ef | grep eladmin-system-1.1.jar | grep -v grep | awk { print $2 }) if [ -z $PID ] then echo Application is already stopped else echo kill -9 $PID kill -9 $PID fi配置 nginx可以是 http的 80 端口也可以是 https的 443 端口。 server {listen 80;server_name 域名/当前服务器外网IP;location / {proxy_pass http://127.0.0.1:8000; #这里的端口记得改成项目对应的哦proxy_set_header X-Forwarded-Proto $scheme;proxy_set_header X-Forwarded-Port $server_port;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection upgrade;}}如果是 443 server {listen 443 ssl;server_name eladmin.luotayixing.com;ssl_certificate ssl/eladmin.luotayixing.com_bundle.crt;ssl_certificate_key ssl/eladmin.luotayixing.com.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://127.0.0.1:8000;proxy_set_header X-Forwarded-Proto $scheme;proxy_set_header X-Forwarded-Port $server_port;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection upgrade;}}另外nginx头部需要指定用户默认是 nobody可以换成对应用户测试可以用 root #user nobody; user root;前端部署 鉴于本人前端能力实在有限只测试了History 模式的这里也不会介绍 Hash模式。 前面已经将后端部署上了如果要本地启动的时候直接访问后端的接口就需要修改.env.development比如改成下面这样如要后端配置了 80 端口或者 80 和 443 都配置了 ENV development# 接口地址 # VUE_APP_BASE_API http://localhost:8000 # VUE_APP_WS_API ws://localhost:8000 VUE_APP_BASE_API http://eladmin.luotayixing.com VUE_APP_WS_API ws://eladmin.luotayixing.com# 是否启用 babel-plugin-dynamic-import-node插件 VUE_CLI_BABEL_TRANSPILE_MODULES true构建之前修改下.env.production比如改成 https 的 ENV production# 如果使用 Nginx 代理后端接口那么此处需要改为 /文件查看 Docker 部署篇Nginx 配置 # 接口地址注意协议如果你没有配置 ssl需要将 https 改为 http VUE_APP_BASE_API https://eladmin.luotayixing.com # 如果接口是 http 形式 wss 需要改为 ws VUE_APP_WS_API wss://eladmin.luotayixing.com执行npm run build:prod或者用 idea打开 package.json点击对应行前面的箭头 执行完成后根目录下的 dist 就是生成好的可以放到服务器上 配置 nginx如果是 80端口 server{listen 80;server_name 域名/外网IP;index index.html;root /home/wwwroot/eladmin/dist; #dist上传的路径# 避免访问出现 404 错误location / {try_files $uri $uri/ router;index index.html;}location router {rewrite ^.*$ /index.html last;} } 如果是 443 端口 server {listen 443 ssl;server_name mp.luotayixing.com;ssl_certificate ssl/mp.luotayixing.com_bundle.crt;ssl_certificate_key ssl/mp.luotayixing.com.key;ssl_session_cache shared:SSL:1m;ssl_session_timeout 5m;ssl_ciphers HIGH:!aNULL:!MD5;ssl_prefer_server_ciphers on;index index.html;root /root/eladmin/dist/;location / {try_files $uri $uri/ router;index index.html;}location router {rewrite ^.*$ /index.html last;}}完成后重启 nginx访问配置好的域名比如本人的是https://mp.luotayixing.com/
http://www.sczhlp.com/news/152529/

相关文章:

  • 手机可以做网站吗?成都网站建设制作
  • 公司网站建设行业怎么样wordpress的数据库
  • Luogu P3863 序列 题解 [ 紫 ] [ 分块 ] [ 扫描线 ]
  • 【半导体器件 | 笔记】双极晶体管(BJT)
  • 北京建设网站兼职普工网站建设的内容
  • 广州网站制作怎样亚马逊新店投广告是免费的吗
  • 网页设计与网站建设分析天津做填料的公司
  • 工具类网站做排名哪个视频网站做视频赚钱的
  • 如何办个网站网站app建设方案
  • 宁夏商擎网站建设wordpress漏洞 2014
  • 装饰设计网站大全榆次做网站
  • 营销平台网站建设wordpress用户头像插件
  • 自已能做网站建设吗淮北哪有做网站的
  • 购物网站排名前十网站界面设计ps
  • 常州网站建设key de临海市建设局官网站
  • 成都公司网站开发常见的网站推广方式有哪些
  • 昆明网站网站制作一般收费
  • 太原做彩票网站公司商城网站建设精英
  • 碧江网站建设做的网站如何全屏
  • 天津河北区做网站在招聘网站做销售怎么样
  • 电影网站源码怎么做的临沂专业网站建设公司哪家好
  • 昆明网页制作开发合肥百度seo代理
  • 建设网站哪个公司好网架公司需要给设计院提交的资料
  • 效果图素材网站网站设计类毕业设计
  • 陕西省建设厅网站证件查询企业建设有限公司
  • 叮当快药网站谁做的小何自助建站
  • 北京大龙建设集团有限公司网站crm系统哪种品牌的好
  • 网站两侧对联广告图片WordPress目录和连接关系
  • php网站的开发背景网页设计个人主页图片
  • 网站建设工作会议.免费做电子章网站