logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

nginx代理静态网站css解析异常

今天在使用ecs进行部署网页时,出现了一个问题。使用nginx代理到页面index.html路径下,同路径的资源都可以加载到,但是却无法正确加载到页面样式。打开f12,网络和控制台都没有资源异常,但页面乱成了一锅粥。本地打开是正常的,上到服务器却不行?之前使用nginx时,并没有这个问题,于是我猜测是不是nginx新的版本对配置参数进行了修改?但我翻看了nginx的文档,却没有找到。

#nginx#服务器#运维
为什么mysql的delete操作不释放磁盘空间

在InnoDB中,delete操作并不会真的删除数据,mysql实际上只是给要删除的数据打了标记,标记为删除。磁盘所占空间不会变小,即表空间并没有真正被释放。

#mysql#数据库#java
jenkins流水线部署,项目一键部署到k8s,项目一键部署K8S

jenkins流水线部署,项目一键部署到k8s,项目一键部署K8S

文章图片
#jenkins#kubernetes#docker
restTemplate http请求报错:no suitable HttpMessageConverter found for response type and content type

报错信息:org.springframework.web.client.UnknownContentTypeException: Could not extract response: no suitable HttpMessageConverter found for response type [class com.xxx] and content type [text/html;charse

#http#java
Reject: HTTP ‘DELETE‘ is not allowed, Not injecting HSTS.....DELETE请求PUT请求跨域问题

CORS(DELETE请求、PUT请求)Reject: HTTP 'DELETE' is not allowed[DEBUG] 2021-08-25 15:23:52.401 [http-nio-10010-exec-1] HstsHeaderWriter.writeHeaders(169) - Not injecting HSTS header since it did not match th

#http#java
kotlin Bean加载失败lateinit property has not been initialized

Application run failedorg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘xxxApplicationConfig’: Unsatisfied dependency expressed through field ‘appConfigS

文章图片
#spring#java#spring boot
Spring体系下单例策略模式,java策略模式最佳实践

使用最常用的支付场景,轻松了解掌握策略模式。

#spring boot#命令模式#单例模式 +1
妙用postman系列——postman建组、分享

妙用postman系列——postman建组、分享添加新的组和请求。3、生成分享链接4、导入分享链接

#java#postman#测试
Gradle 将项目publish到Nexus,Kotlin将项目发布到nexus,springboot项目发布到maven仓库

公仓设置在项目中添加maven-publish的插件plugins {kotlin("jvm") version "1.3.72"kotlin("plugin.spring") version "1.3.72"`java-library``maven-publish``maven`}如同maven项目一样设置组、版本信息group = "com.test.mytest"version = "0.0

#maven#gradle#java
大数据中用到的新的数据类型bigint、decimal、smallint、tinyint

在对比oracle数据库和大数据库的时候,发现了几个用以存放数字的新的类型bigint、decimal、smallint、tinyint,为了对比之间的不同,我进行了统计bigint可以精确的表示从-263到263-1(即从-9,223,372,036,854,775,808到 9,223,372,036,854,775,807)之间的整数,它占用了八个字节的存储空间。decimal(num...

#java#后端#数据库
    共 35 条
  • 1
  • 2
  • 3
  • 4
  • 请选择