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

The web interface is not working #202

Open
Eugeniy2024 opened this issue Jan 25, 2024 · 1 comment
Open

The web interface is not working #202

Eugeniy2024 opened this issue Jan 25, 2024 · 1 comment

Comments

@Eugeniy2024
Copy link

I gather everything, execute all commands, everything works. When starting the server, it starts working and looks for torrents. But when opening the root (/), there is a white screen. In the console, an error occurs when getting /app.js. There are no errors in the build process. What to do...? In previous versions as well ...

I will be glad of your help!

Без имени

Снимок экрана 2024-01-25 174356

Снимок экрана 2024-01-25 174526

Снимок экрана 2024-01-25 174607

@gayhub-dev
Copy link

gayhub-dev commented Oct 25, 2024

In my case:

Copy app/app.js to the web/ directory.

If you're using Nginx (HTTPS) as the web server:

Change port 8095 to 443 in both app.js and main.js (just search and replace)

Configure Nginx with the following settings:

location /socket.io/ {
    proxy_pass http://127.0.0.1:8095;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}

location / {
    proxy_pass http://127.0.0.1:8095;
}

Works like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants