Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] openim-web-front openim-admin-front net::ERR_ABORTED 404 (Not Found) #2916

Open
hudachui1224 opened this issue Dec 3, 2024 · 1 comment
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@hudachui1224
Copy link

OpenIM Server Version

3.8.2

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

openim-web-front openim-admin-front use ngin proxy cannot access,all js css file is net::ERR_ABORTED 404 (Not Found)

  1. user http://ip:11001/#/login http://ip:11002/login it good , i can access web site both .
  2. but use nginx proxy ,i cannot access.
    https://web.imtest.com
    image

https://admin.imtest.com

image

my nginx config :

upstream pc_web{
#PC web address can be validate
server 127.0.0.1:11001;
}
upstream openim_admin{
#Admin backend address can be used for validation
server 127.0.0.1:11002;
}

location / {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
    proxy_set_header X-real-ip $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_pass http://pc_web/;
}

location / {
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
    proxy_set_header X-real-ip $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_pass http://openim_admin/;
    
}

why ? pless help me

Screenshots Link

No response

@hudachui1224 hudachui1224 added the bug Categorizes issue or PR as related to a bug. label Dec 3, 2024
@OpenIM-Robot
Copy link

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants