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

深圳网站策划seo学徒是做什么

深圳网站策划,seo学徒是做什么,网站建设需要几个部门,设计网站公司收费1.nginx下载地址:nginx: download nginx详解:Nginx配置终极版指南(全网最详细)_nginx_脚本之家 2.vue 项目打包生成dist文件里面的文件复制到下载好的nginx的html目录下 3.配置nginx配置文件 打包生成的dist前端包都是属于生产环…

1.nginx下载地址:nginx: download

    nginx详解:Nginx配置终极版指南(全网最详细)_nginx_脚本之家

2.vue 项目打包生成dist文件里面的文件复制到下载好的nginx的html目录下

3.配置nginx配置文件

打包生成的dist前端包都是属于生产环境的,打包前服务加了/api/后缀 ,axios.defaults.baseURL = process.env.NODE_ENV === 'development' ? '/api' : window.location.protocol+'//'+window.location.host + '/api';


#user  nobody;
worker_processes  1;#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;#pid        logs/nginx.pid;events {worker_connections  1024;
}http {include       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  logs/access.log  main;sendfile        on;#tcp_nopush     on;#keepalive_timeout  0;keepalive_timeout  65;#gzip  on;server {listen       80;server_name  localhost;#charset koi8-r;#access_log  logs/host.access.log  main;location / {root   html;index  index.html index.htm;}location /api/ {proxy_pass http://10.7.37.66:8443/;}#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 Apache's document root# concurs with nginx's one##location ~ /\.ht {#    deny  all;#}}# another virtual host using mix of IP-, name-, and port-based configuration##server {#    listen       8000;#    listen       somename:8080;#    server_name  somename  alias  another.alias;#    location / {#        root   html;#        index  index.html index.htm;#    }#}# HTTPS server##server {#    listen       443 ssl;#    server_name  localhost;#    ssl_certificate      cert.pem;#    ssl_certificate_key  cert.key;#    ssl_session_cache    shared:SSL:1m;#    ssl_session_timeout  5m;#    ssl_ciphers  HIGH:!aNULL:!MD5;#    ssl_prefer_server_ciphers  on;#    location / {#        root   html;#        index  index.html index.htm;#    }#}}

4.启动nginx

5.访问localhost:80 进行登录项目,登录成功说明本地配置代理成功

http://www.khdw.cn/news/66438.html

相关文章:

  • 餐饮小程序制作百度快照优化的优势是什么
  • 苏州区建设局网站免费软文发布平台
  • 做外贸要注册那些网站东莞seo建站优化哪里好
  • php电子商务网站开发实例网络网站推广优化
  • 许昌住房建设局的网站广州百度提升优化
  • wordpress首页刷新郑州seo服务技术
  • 做网站需要合同吗合肥网络公司
  • 小程序前端开发教程北京seo推广
  • 建设网站提供资料的函营销策划有限公司经营范围
  • 济南企业网站建设百度竞价托管代运营
  • 深圳公司装修设计广州seo好找工作吗
  • 通化网站推广百度商家怎么入驻
  • 上海 网站开发 工作室无货源网店怎么开
  • 济南做网站找大标深圳百度推广电话
  • 3d展示网站源码关键词排名技巧
  • php网站开发技术描述新郑网络推广外包
  • 商洛市住户和城乡建设局网站信息价可以免费发外链的论坛
  • 企业网站建设背景b站推广链接
  • 用帝国cms做网站百度关键词工具
  • wordpress 制作安装包seo网络优化软件
  • 建站行业都扁平化设计前端seo怎么优化
  • 画中画有哪些网站可以做网推项目平台
  • html5网站建设公司沈阳优化网站公司
  • 傻瓜式网站开发工具超级软文网
  • 美女做爰性体网站seo在线论坛
  • 进行网站建设seo推广教程seo推广技巧
  • 做网站维护要什么专业html+css网页制作成品
  • 网站制作 深圳大一html网页制作作业
  • 做商城网站长沙网站公司品牌
  • 网站里面的按钮链接怎么做西安关键词快速排名