码迷,mamicode.com
首页 >  
搜索关键字:mginx location    ( 8134个结果
POJ3278 Catch That Cow
题目链接:https://vjudge.net/problem/POJ-3278 Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediatel ...
分类:其他好文   时间:2021-01-19 12:20:23    阅读次数:0
react history的使用方法详解
用history.push,和history.go或者replace其他方式去改变当前的location有什么特别的区别 history.push 这个方法会向history栈里面添加一条新记录,这个时候用户点击浏览器的回退按钮可以回到之前的路径。 history.go 这个方法的参数是一个整数,意 ...
分类:其他好文   时间:2021-01-19 12:07:34    阅读次数:0
node.js+express 做301重定向实验
本地项目启动: 1.添加代码 if(req.url '/apply'){ res.writeHead(301,{ 'Location':'https://www.baidu.com/' }) } 之后http://localhost:8080/apply会跳转到https://www.baidu.c ...
分类:Web程序   时间:2021-01-19 12:06:00    阅读次数:0
linux系统下的nginx配置文件
user root; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { #use epoll; worker_connections 65535; } http ...
分类:系统相关   时间:2021-01-13 10:45:25    阅读次数:0
light-rtc: 理念与实践
在与同行交流过程中,发现很多同行对 WebRTC 改动太多,导致无法升级 WebRTC 版本。而 WebRTC 开源社区的快速迭代,让他们感到欣喜又焦虑:开源社区的迭代效果,是不是超过了他们对 WebRTC 的优化效果?我们针对特定场景优化 WebRTC 时,怎么紧跟 WebRTC 开源社区通用的优 ...
分类:其他好文   时间:2021-01-08 11:40:11    阅读次数:0
获取程序地址或路径
获取程序地址或路径 Web地址: JS: var baseUrl = window.location.host;//不带http:// 结果为: localhost:8033 asp.net: string host = HttpContext.Current.Request.Url.Host; s ...
分类:其他好文   时间:2021-01-07 12:20:42    阅读次数:0
部署Django云服务器 Gunicorn + Nginx
工作流程 Django 自带的开发服务器性能太差,用到线上环境不合适。所以线上部署时,我们还要安装 Nginx 和 Gunicorn,工作流程如下: 客户端发来 http 请求,Nginx 作为直接对外的服务器接口,对 http 请求进行分析 如果是静态资源请求,则由Nginx自己处理(效率极高) ...
分类:其他好文   时间:2021-01-06 12:01:33    阅读次数:0
VUE项目编译后刷新404
在nginx配置中添加 location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; } ...
分类:其他好文   时间:2021-01-04 11:32:56    阅读次数:0
vue 页面跳转传参
两个页面之间的跳转如果需要传参(例如需要传递当前的id),js里写 window.location.href="xxxxx?id=xx 就可以了;但是vue不一样 需要操作的是路由,需要用到 VueRouter使用之前首先要了解 $router和$route $router是一个VueRouter的 ...
分类:其他好文   时间:2021-01-04 10:33:13    阅读次数:0
python selenium 环境篇-3.环境验证
打开pycharm,点击File--New Project,项目名称location随意取比如就叫untitled吧,以后我们会逐步完善,Interpreter就是python解释器,选择你安装的python路径。 在新的工程的untitled目录上右键新建python file,名字就叫test0 ...
分类:编程语言   时间:2021-01-02 10:40:07    阅读次数:0
8134条   上一页 1 ... 7 8 9 10 11 ... 814 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!