Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

如何使用nginx反代? #12

Closed
immity opened this issue Mar 8, 2021 · 0 comments
Closed

如何使用nginx反代? #12

immity opened this issue Mar 8, 2021 · 0 comments

Comments

@immity
Copy link

immity commented Mar 8, 2021

现在的配置是

location /iyuu {
return 301 /IYUUPlus/;
}
location /IYUUPlus/ {
proxy_pass http://127.0.0.1:8787/;
proxy_redirect / /IYUUPlus/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
}

登录页无法登入,点击登入没有反应

@immity immity closed this as completed May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant