Akiraka Akiraka
  • 首页
  • Linux
    • ELK
    • PHP
    • Shell
    • Nginx
    • Docker
      • Docker Compose
    • Centos
    • Ubuntu
    • Jenkins
  • Python
  • Mac OS
  • Windows
  • 大数据
    • Hadoop
    • CDH
    • Hive
    • Spark
    • ZooKeeper
  • 微服务
    • Kubernetes
    • Helm
  • Other
  • Quark
  • 首页
  • Linux
    • ELK
    • PHP
    • Shell
    • Nginx
    • Docker
      • Docker Compose
    • Centos
    • Ubuntu
    • Jenkins
  • Python
  • Mac OS
  • Windows
  • 大数据
    • Hadoop
    • CDH
    • Hive
    • Spark
    • ZooKeeper
  • 微服务
    • Kubernetes
    • Helm
  • Other
  • Quark
首页 › Linux › Nginx › Nginx 反向代理配置

Nginx 反向代理配置

Akiraka1年前

配置文件如下

server {
  listen 80;
  server_name 域名;

  location / {
    #   这里填写需要代理的域名或IP与端口
    proxy_pass  http://127.0.0.1:8803;
    proxy_send_timeout 300s;
    proxy_read_timeout 300s;
    proxy_connect_timeout 300s;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
}
#nginx
0
分享
Akiraka 站长
文章 121评论 10
相关文章
  • Kubernetes(k8s)helm 部署 Nginx Ingress
  • 使用 Docker 部署 LNMP 环境
  • Docker 使用官方镜像构建 nginx 容器
  • DockerFile 源码编译 Nginx 容器
  • 针对切割Nginx动态日志自动拉黑脚本
Akiraka
站长
本人擅长 Ai、Au、Fl、Ae、Pr、Ps 等软件的安装与卸载,精通 CSS、JavaScript、PHP、Python、Shell、Go 等单词的拼写,熟悉 Windows、Linux、Mac、Android、IOS 等系统的开关机!
121文章
10评论
47获赞
想找什么搜一下
文章聚合
阿里云Docker加速器
1年前
ElastrcSearch数据定期删除
1年前
Confluence 7.6.1 Docker compose 安装
7月前
Kubernetes(k8s)部署 Helm 客户端
12月前
设置pyspark 启动时所使用的python版本
1年前
微信小程序
微信小程序
标签云
brew cdh centos cmd docker docker compose elasticsearch elk filebase filebeat gitlab grafana hadoop helm hive hue jdk jenkins k8s kibana kubernetes liniux linux logstash mac mikrotik mydumper mysql nfs nginx openssl oss php pip pyspark python RabbitMQ redis rocketmq shell Spark ubuntu windows ZooKeeper 容器编排
Copyright © 2019-2021 Akiraka. Designed by nicetheme. 沪18036911号