Skip to content

Commit

Permalink
fix: nginx conf sock地址有问题
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Feb 3, 2024
1 parent 908a8d1 commit 44988eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ http {
}

location @be {
proxy_pass http://unix:<%= root %>/cache/openbmclapi.sock;
proxy_pass http://unix:<%= sock %>;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand Down

0 comments on commit 44988eb

Please sign in to comment.