diff --git a/README.md b/README.md index f164128f..697d7271 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,7 @@ com.ruoyi nginx: +``` location /stage { alias /home/ruoyi/stage; try_files $uri $uri/ /stage/index.html; #解决页面刷新404问题 @@ -154,4 +155,5 @@ location /stage { proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://192.168.1.211:30008/; - } \ No newline at end of file + } +```