nginx 反向代理http://127.0.0.1:8080
2024-07-25 python 160
server { listen 80; server_name ttt.com; location / { # 将所有请求代理到 http://127.0.0.1:8080 proxy_pass http://127.0.0.1:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } }
很赞哦! (0)
相关文章
文章评论
-
-
-
0条评论