初始化提交
This commit is contained in:
16
nginx/opt-server/to-s1-go.conf
Normal file
16
nginx/opt-server/to-s1-go.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
server {
|
||||
listen 8101; # 监听 8100 端口
|
||||
server_name 172.24.16.20; # 运维机 的公网 IP
|
||||
access_log /data/tengine/logs/to_s1_go_access.log;
|
||||
error_log /data/tengine/logs/to_s1_go_error.log;
|
||||
location / {
|
||||
proxy_pass http://43.130.56.138:8100; # 反向代理到本地电脑的sit的8070
|
||||
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;
|
||||
|
||||
client_max_body_size 300M;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user