![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
服务器
我是酷毙程序猿
这个作者很懒,什么都没留下…
展开
-
nginx中引入多版本 php 和 域名地址转发至指定机器本地的端口号
server{ listen 80 default; server_name lacoste-******.shopex123.com; location / { proxy_pass http://127.0.0.1:9501; proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; proxy_set_hea...原创 2021-09-23 16:50:17 · 306 阅读 · 0 评论 -
php域名转发端口至 127.0.0.1:9501
server_name lacoste-hyt-test.shopex123.com; location / { proxy_pass http://127.0.0.1:9501; proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-PORT $remote_port; prox...原创 2021-09-23 16:35:44 · 369 阅读 · 0 评论 -
linux 下helm 安装
中文文档 地址 http://www.coderdocument.com/docs/helm/v2/using_helm/installing_helm.htmlhttps://github.com/helm/helm/releases下载下来后按照以下步奏原创 2020-12-09 10:34:04 · 604 阅读 · 0 评论 -
HTML5 History 模式 即 vue 前后端分离服务端配置
参考原文地址https://router.vuejs.org/zh/guide/essentials/history-mode.html#%E5%90%8E%E7%AB%AF%E9%85%8D%E7%BD%AE%E4%BE%8B%E5%AD%901.nginx 配置server { listen 80; server_name nestle.com ; root "D:\install\PHPTutorial\WWW\skscrm...原创 2020-11-16 15:52:53 · 527 阅读 · 0 评论 -
(laravel,apache,nginx )响应头设置 (有关iframe嵌套,xss 攻击,防止基于 MIME 类型混淆的攻击)的配置
nginx 配置server { listen 80; server_name nestle.com ; root "D:\install\PHPTutorial\WWW\skscrm\dist"; add_header X-Frame-Options SAMEORIGIN; add_header X-XSS-Protection '1; mode=block'; add_header ...原创 2020-11-16 13:53:46 · 1054 阅读 · 0 评论 -
守护进程管理工具 supervisor (待完善)
①[root@cxh ~]# yum install python-setuptoolsLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfilePackage python-setuptools-0.9.8-7.el7.noarch already installed and latest versionNothing to do②[root@cxh ~]# easy_install supervisor原创 2020-08-25 12:18:56 · 334 阅读 · 0 评论 -
apache 跨域问题处理
1.apache 配置 跨域问题解决方案 首先去掉 如图注释②设置对应的需要可以被跨域访问的服务 根据如图 配置相应的 所需的跨域规则 各个配置可以自己搜一下根绝所需配置<VirtualHost *:80> DocumentRoot "D:\install\phpstudy\PHPTutorial\WWW\crm\pc_release\apps" ServerName www.wx2.com Header set Access-Control-A...原创 2020-08-20 18:32:18 · 758 阅读 · 0 评论 -
linux 常用命令
1.df -h 硬盘使情况2.du -h --max-depth=1 查看一级目录文件大小3.du -h ***** --max-depth=1 查看某个文件的大小单位 k M G4.free -m 内存使用情况5.top cpu 使用情况...原创 2019-05-27 20:10:13 · 70 阅读 · 0 评论 -
linux 下rabbitmq的安装以及设置远程用户访问
首先需要安装erlang 参考:http://fedoraproject.org/wiki/EPEL/FAQ#howtouse安装前准备 yum install build-essential openssl openssl-devel unixODBC unixODBC-devel make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl...原创 2019-04-21 11:49:37 · 5094 阅读 · 0 评论 -
为什么df和lsblk显示的内存不一样大
lsblk命令块名 块大小 块类型 挂载点[root@cluster-datanode-1 ~]# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsr0 11:0 1 1024M 0 romvda 252:0 0 100G 0 disk├─vda1 252:1 0 500M 0 part /boot└─vda2 252:2 0 99.5G 0 ...转载 2019-01-16 17:20:28 · 2535 阅读 · 0 评论