服务端开发
SeaLong_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SpringBoot 创建自定义异常
-----------------------------------------自定义异常类------------------------------------------ // 自定义异常类 @NoArgsConstructor @AllArgsConstructor @Getter public class MyException extends RuntimeException { ...原创 2019-10-29 11:41:39 · 423 阅读 · 0 评论 -
nginx服务转发配置的主要内容
server { listen 80;# 监听80端口 server_name manage.leyou.com; #转发manage.leyou.com proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host...原创 2019-06-03 23:40:24 · 872 阅读 · 0 评论 -
阿里云发送短信实例
package com.leyou.demo; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.IAcsClient; import com.aliyuncs.dysmsapi.model.v20170525.QuerySendDetailsRequest; import com.aliyuncs.dysmsapi.model....原创 2019-06-04 17:35:09 · 1998 阅读 · 0 评论 -
用VMware虚拟机中的CentOS7安装Nginx后本机无法访问的解决办法
在虚拟机centos7上安装nginx之后虚拟机内能访问,真机不能访问,此时需要打开虚拟机的80端口,开放端口的方法如下: firewall-cmd --zone=public --add-port=80/tcp --permanent 命令含义: –zone #作用域 –add-port=80/tcp #添加端口,格式为:端口/通讯协议 –permanent #永久生效,没...原创 2019-07-01 14:34:02 · 839 阅读 · 0 评论 -
linux 自动启动nginx服务脚本文件
#!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: NGINX is an HTTP(S) server, HTTP(S) reverse \ # proxy and IMAP/POP3 proxy se...原创 2019-07-01 18:29:05 · 855 阅读 · 0 评论
分享