-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
[QUESTION] NestJS + Typescript + BullMQ + Bull Board Production Deployment with Nginx as Reverse Proxy #788
Comments
It stuck in loading since all app files are not downloaded (your server returns 404 for .css, .js) files. |
My configuration for the location block in nginx is as follows:
In the dist folder for the nest app, there is only a main.js file after the build step. Where should I be looking for the static files? |
Do you ave any block that configures static files? |
No I do not. Is there any documentation regarding how to set it up with nest? I was unable to locate it. |
same issue here i have block that configures static files so how i allies it to bull static files |
NOTE : THIS IS NOT SOLUTION TELL ME IS THIS VALID OR NOT 😅 it work for me |
The lib should handle it's static files... it works properly with all other adapters. |
` root /home/project_whatsapp/public/;
` here is my configuration that not work in my case |
Could you show me your example? Thanks bro. Because I pass in pulic folder, it does't work. app.use('/bullmq-dashboard', express.static(path.join(__dirname, 'public/admin/queue/'))); app.use('/bullmq-dashboard', serverAdapter.getRouter());` |
step 1 :- got to /node_modules/@bull-board/ui/dist/static and copy whole static folder |
Hi bro,not need put this code in main.js ? app.use('/bullmq-dashboard', express.static(path.join(__dirname, 'public/admin/queue/'))); app.use('/bullmq-dashboard', serverAdapter.getRouter());` |
Greetings, I have deployed bullboard with bullmq and nestjs with the following configuration:
There is a local redis instance on the remote server.
This is in the imports section in app.module.ts:
This works absolutely fine in local setup, but once deployed on production it gets stuck on a loading page:
In Nginx, my app is served under a subpath
app
making the URL : https://my-app.com/app/queuesI want to know what configuration changes is required for me to set up bullboard UI properly with my configuration.
Any help is appreciated!
The text was updated successfully, but these errors were encountered: