proxy_set _header Host $host;
node2:/etc/openrestry#cat taohui.conf
events
{
use epoll;
worker_connections 65535;
multi_accept on;
}
http
{
default_type application/octet-stream;
server_tokens off;
log_format main '[$host]|[$realip_remote_addr]- $remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" "$request_filename"';
#access_log off;
access_log logs/access.log main;
upstream scan20201113 {
server 192.168.137.2:8080 weight=5;
}
##upstream backend 位置放錯了, upstream位置應該放在http模組裡面 但必須是在server模組的外面
server
{
listen 80;
#server_name_in_redirect on;
相關文章
- net core 的Generic Host 之Generic Host BuilderUI
- Host是什麼?如何設定host檔案?
- location.host
- Virtualbox host plan
- VirtualBox Host-only Adapter,Failed to create the host-only adapter 轉APTAI
- URL host 屬性
- use "jsdelivr" to host fileJSVR
- Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Host is unreachable(Host unreachable)AIbootIndexServer
- Rewrite %{HTTP_HOST}用法HTTP
- unknown host 主機名
- Connection could not be established with host 求救
- Please specify (single) host string for connection:
- android USB host程式設計Android程式設計
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- “Host ‘xxxx‘ is not allowed to connect to this MySQL server“MySqlServer
- 關於對Host的理解
- Qt QML之 JavaScript Host EnvironmentQTJavaScript
- garmin USB: linux USB host驅動Linux
- Error:Unknow host 'service.gradle.org'ErrorGradle
- React版Host管理工具React
- Host 'xxx' is not allowed to connect to this MySQL server.MySqlServer
- 理解ASP.NET Core - [04] HostASP.NET
- host=wwwtl555222com17008768000-HOSTNAME
- win10 更改host檔案步驟_win10系統如何修改host檔案Win10
- Shit!我的host到底怎麼了?
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- 【bash】關於 /dev/(tcp|udp)/${HOST}/${PORT}devTCPUDP
- host 網路模式啟動 Jenkins 映象模式Jenkins
- linux usb 子系統(二)- host driverLinux
- 閘道器never_host設計
- .NET Core 3.0 之初識Host原始碼原始碼
- ansible執行playbook報Host Key checking
- MySQL-1130-host ... is not allowed to connect to this MySql serverMySqlServer
- Centos 6 DNS 配置 解決 Unknown hostCentOSDNS
- Go 程式碼中如何繫結 HostGo
- SSH登入:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- sshd啟動報錯Could not load host key
- Linux基礎命令---host域名查詢工具Linux