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

做游戏自媒体视频网站黑客入侵别人网站做seo

做游戏自媒体视频网站,黑客入侵别人网站做seo,淘宝引流推广平台,山东手机响应式网站建设设计今天部署了一个Vue项目到阿里云的云服务器上#xff0c;现记录该过程。 1. 修改Vue项目配置 我们去项目中发送axios请求的文件里更改一下后端的接口路由#xff1a; 2. 执行命令打包 npm run build ### 或者 yarn build 打包成功之后#xff0c;我们会看到一个dist包现记录该过程。 1. 修改Vue项目配置 我们去项目中发送axios请求的文件里更改一下后端的接口路由 2. 执行命令打包  npm run build ### 或者 yarn build 打包成功之后我们会看到一个dist包 3.安装Nginx 3.1. 安装对应的依赖 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel 3.2. 下载Nginx并解压 //创建一个文件夹 cd /usr/local mkdir nginx cd nginx //下载tar包 wget http://nginx.org/download/nginx-1.13.7.tar.gz tar -xvf nginx-1.13.7.tar.gz 3.3. 开始安装 //进入nginx目录 cd /usr/local/nginx //进入目录 cd nginx-1.13.7 //执行命令 考虑到后续安装ssl证书 添加两个模块 ./configure --with-http_stub_status_module --with-http_ssl_module //执行make命令 执行make install命令 make make install 3.4. 启动Nginx ​​​​​​​/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 3.5. 打开配置文件 # 打开配置文件 vi /usr/local/nginx/conf/nginx.conf 4. 把dist文件放置到/usr/local/nginx/html中: 5. 配置nginx.cnf 可以开始配置config文件了 server {listen 80;server_name localhost;#charset koi8-r;#access_log logs/host.access.log main;location / {root html/dist;try_files $uri $uri/ /index.html;}location ^~ /api {# 处理 Vue 单页面应用 路由模式为 history 模式刷新页面 404 的问题try_files $uri $uri/ /dist/index.html;}#error_page 404 /404.html;# redirect server error pages to the static page /50x.html#error_page 500 502 503 504 /50x.html;location /50x.html {root html;}# proxy the PHP scripts to Apache listening on 127.0.0.1:80##location ~ \.php$ {# proxy_pass http://127.0.0.1;#}# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000##location ~ \.php$ {# root html;# fastcgi_pass 127.0.0.1:9000;# fastcgi_index index.php;# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;# include fastcgi_params;#}# deny access to .htaccess files, if Apaches document root# concurs with nginxs one##location ~ /\.ht {# deny all;#}} 成功输入服务器的公网地址就可以访问到项目了
http://www.pierceye.com/news/705/

相关文章:

  • 无锡做网站无锡网站设计做阿里巴巴网站电话
  • 网站 前置审批南昌网站seo多少钱
  • 怎么制作网站教程图片微商水印相机做网站
  • 南阳做玉器网站wordpress视频广告插件
  • 网站建设与管理复习知识点长春做网站网站
  • 找别人建网站去哪里销售渠道策略
  • 不需要写代码的网站开发软件创建个人主页网站
  • 网站定向推送怎么做小白怎么做网站赚钱
  • 织梦网站安装教程视频微信营销手机
  • 营口网站制作公司wordpress没有外观
  • 网站编辑兼职深圳市研发网站建设哪家好
  • 找到网站永久域名怎么做一个网上商城
  • 网站建设制作需求ps网站轮播图怎么做的
  • 网页设计网站开发需要哪些知识wordpress拖曳组件
  • 北京建网站报价网站建设军成
  • 免费网站建设域名无锡网络营销平台
  • 上海外贸网站推广wordpress欣赏
  • 企业门户网站模板显示电脑没有安装wordpress
  • 创意设计海报凤山网站seo
  • 网站设计在线域名交易中心
  • 单本小说网站万网域名查询接口
  • 网站建设const是什么意思wordpress手机站
  • 网站安全建设需求百度搜索网站提交
  • 网站建设基础服务报价wordpress转换为中文版
  • 正保建设工程网站wordpress换主题链接
  • 许昌市建设局网站网站制作设计机构
  • 平面设计国外网站免费正能量不良网站推荐
  • 网站服务内容填网站建设可以自适应网站开发文字大小如何处理
  • 有字库wordpress山西seo排名
  • 建站广告赚钱新开传奇网站超变