美文网首页
springboot常用配置

springboot常用配置

作者: 火柴__ | 来源:发表于2018-08-24 15:59 被阅读0次

    springboot开启https

    server.ssl.key-store=keystore.p12
    server.ssl.key-store-password=dl123456
    server.ssl.keyStoreType=PKCS12
    server.ssl.keyAlias=undertow
    server.ssl.protocol=TLSv1.2
    

    springboot开启gzip压缩

    server.compression.enabled=true
    server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css
    

    相关文章

      网友评论

          本文标题:springboot常用配置

          本文链接:https://www.haomeiwen.com/subject/emxiiftx.html