修复获取访问ip逻辑

This commit is contained in:
hanhh committed 2021-08-22 14:07:00 +08:00
1 parent 85093b2856
commit bbc9ee120d
3 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ server {
location /api {
proxy_set_header Host $http_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-For $proxy_add_x_forwarded_for;
proxy_pass http://api;
}