阳仔

Coach & Programmer

Beijing, China
  • 首页

公告

记录成长历程。

分类

  • 开发22
  • 技术1
  • 杂记9
  • 生产力6
  • 运维42

标签

  • CentOS1
  • Linux1
  • SCAMPER1
  • cdn1
  • centos79
  • cookie1
  • coredns1
  • datagrip1
  • debug3
  • docker2
  • elaticsearch1
  • firewalld1
  • idea1
  • java8
  • jupyter1
  • k8s1
  • lrzsz1
  • mac5
  • maven3
  • money1
  • mysql8
  • mysqldump1
  • nacos1
  • nginx6
  • notebook1
  • npm1
  • pac1
  • path1
  • php1
  • python3
  • redis3
  • shortcuts1
  • springboot3
  • ssh1
  • ssl1
  • supervisor1
  • tools6
  • uniapp3
  • usage7
  • websocket1
  • yum1
  • 创意1
  • 拖延1
  • 时间1
  • 番茄工作法1
  • 目标1
  • 艾維利1
  • 蔡格尼1

标签云

CentOS Linux SCAMPER cdn centos7 cookie coredns datagrip debug docker elaticsearch firewalld idea java jupyter k8s lrzsz mac maven money mysql mysqldump nacos nginx notebook npm pac path php python redis shortcuts springboot ssh ssl supervisor tools uniapp usage websocket yum 创意 拖延 时间 番茄工作法 目标 艾維利 蔡格尼

归档

  • 三月 20241
  • 六月 20231
  • 三月 20222
  • 一月 20223
  • 十二月 20212
  • 十一月 20211
  • 九月 20216
  • 六月 20212
  • 五月 20211
  • 四月 20212
  • 三月 20211
  • 二月 20211
  • 一月 20212
  • 十二月 20208
  • 十一月 20201
  • 十月 20205
  • 九月 20201
  • 八月 20202
  • 七月 20207
  • 六月 202016
  • 五月 202015

最新文章

  • 运维

    Nginx 配置反向代理去除前缀

    2024-03-30

  • 运维

    docker修改存储位置

    2023-06-05

  • 运维

    镜像版本说明

    2022-03-16

  • 运维

    架构师能力模型

    2022-03-15

  • 运维

    Nginx转发websocket协议

    2022-01-07

nginx 80端口重定向到443端口

2020-05-31 运维 nginx 评论 字数统计: 24(字) 阅读时长: 1(分)

使用如下配置即可

1
2
3
4
5
server {
listen 80;
server_name www.test.com;
rewrite ^(.*)$ https://${server_name}$1 permanent;
}
  • 本文链接: https://75051685.xyz/2020/05/31/nginx-redirect-80-to-443/
  • 版权声明: 本博客所有文章除特别声明外,均采用 CC BY 4.0 CN协议 许可协议。转载请注明出处!

阳仔Coach & Programmer

NLP教练、程序员。
  •   上一篇
  • 下一篇  
© 2024 Alex Xiao
Theme by cofess base on pure.
ICP 京ICP备20009948号-1