广杰博客

  • 首页
  • IT资讯
  • IT运维
springboot
IT运维

springboot nginx https 配置

在nginx上设置ssl证书,启用https,当tomcat里的应用发生转向请求时将转向为http而非https,为此我们需要告诉tomcat已被https代理,方法是增加X-Forwared-Proto和X-Forwarded-Port两个HTTP头信息。 nginx的location配置 location / { proxy_pass http://127.0.0.1:8080; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_hea…

08/12/2019 0条评论 2518点热度 7人点赞 guangjie 阅读全文
IT运维

创建自定义jdk版本和springboot应用程序docker镜像

创建JDK镜像 vi dockerfile FROM centos:7 ADD jdk-8u211-linux-x64.tar.gz /usr/local/ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN echo 'Asia/Shanghai' >/etc/timezone ENV JAVA_HOME /usr/local/jdk1.8.0_211 ENV CLASSPATH .:$JAVA_HOME/lib:$JRE_HOME…

05/30/2019 0条评论 2088点热度 2人点赞 guangjie 阅读全文
IT运维

Installing Spring Boot Applications

systemd is the successor of the System V init system and is now being used by many modern Linux distributions. Although you can continue to use init.d scripts with systemd, it is also possible to launch Spring Boot applications by using systemd ‘service’ scrip…

10/30/2018 0条评论 1480点热度 0人点赞 guangjie 阅读全文
最新 热点 随机
最新 热点 随机
Red Hat Enterprise Linux 9 发布,大量组件升级 windows10 家庭版添加hyper-v虚拟机组件 Red Hat Enterprise Linux 8.5 GA 发布 Rocky Linux 8.4 GA正式版发布下载 Rocky Linux 8.3 首个候选版本发布 CentOS 8.3 (2011) ISO镜像下载发布 CentOS Linux 落幕 CentOS Stream 上位 CentOS Linux 7.9 (2009) iso镜像下载 Windows 10 2020年10月更新ISO下载 ubuntu ssh通过密钥登陆服务器
php无法加载zend出现Starting php_fpm Failed loading /usr/local/zend/ZendOptimizer.so Ubuntu 11.04 版本号Natty Narwhal 正式发布 cfssl 生成kubernetes证书 SEO作弊的含义与常见方式 一个不错的centos学习网站 win7系统打不开chm文件 Framework3.0正式版本分发包 mdaemon的webadmin中文版 Windows8首则电视广告 CSS与JS文件在线压缩
标签聚合
nginx springboot android Hyper-V Windows Server 2012 php_curl redhat linux
友情链接
  • linux运维
  • 郑州SEO

COPYRIGHT © 2021 gjie.cn. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

豫ICP备07002435号-8