mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
✨EasyRetry Server 扩展模块
This commit is contained in:
@ -35,6 +35,10 @@ http {
|
||||
server 127.0.0.1:7700;
|
||||
}
|
||||
|
||||
upstream easyretry-server {
|
||||
server 127.0.0.1:8800;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
@ -112,6 +116,14 @@ http {
|
||||
proxy_pass http://powerjob-server;
|
||||
}
|
||||
|
||||
location /easy-retry/ {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header REMOTE-HOST $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass http://easyretry-server/;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root html;
|
||||
|
Reference in New Issue
Block a user