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;
相關文章
- Django出現DisallowedHost at / Invalid HTTP_HOST headerDjangoHTTPHeader
- golang中的http的Header中設定Host無效GolangHTTPHeader
- Host是什麼?如何設定host檔案?
- mac修改hostMac
- ubuntu配置HOSTUbuntu
- Google:host配置Go
- ubuntu修改hostUbuntu
- net core 的Generic Host 之Generic Host BuilderUI
- Grid Control remove host and re-add hostREM
- URL host 屬性
- nginx host常用配置Nginx
- Rewrite %{HTTP_HOST}用法HTTP
- use "jsdelivr" to host fileJSVR
- Linux google host配置LinuxGo
- SSH Host key verification failedAI
- VirtualBox Host-only Adapter,Failed to create the host-only adapter 轉APTAI
- Connection could not be established with host 求救
- Qt QML之 JavaScript Host EnvironmentQTJavaScript
- 關於對Host的理解
- ubuntu下修改host檔案Ubuntu
- 走近 WSH(Windows Scripting Host)Windows
- ubuntu 下修改host檔案Ubuntu
- React版Host管理工具React
- 理解ASP.NET Core - [04] HostASP.NET
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- android USB host程式設計Android程式設計
- 安卓USB開發教程 USB Host安卓
- win10 更改host檔案步驟_win10系統如何修改host檔案Win10
- 釋出一個 host 管理外掛,基於 Chrome 代理秒重新整理 host 無延遲Chrome
- .NET Core 3.0 之初識Host原始碼原始碼
- Go 程式碼中如何繫結 HostGo
- garmin USB: linux USB host驅動Linux
- 【MySQL】Host is blocked because of many connection errorsMySqlBloCError
- SCP報錯:Host key verification failed.AI
- 【oracle官網】 Restoring a Database on a New HostOracleRESTDatabase
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- 利用HTTP host頭攻擊的技術HTTP
- 更改使用者host留下的坑