AdminBro behind a reverse proxy server?
See original GitHub issueHi,
I have been trying to find it but I am unable to find anything regarding running AdminBro behind a proxy server. Currently, I am running AdminBro NodeJS server behind an Nginx reverse proxy server(traffic from https://example.com/test-server
routing to the NodeJS server). My root path for AdminBro is /admin. When I go to https://example.com/test-server/admin
I get the following errors in the browser console:
GET https://example.com/test-server/admin/frontend/assets/app.bundle.js net::ERR_ABORTED 404 (Not Found)
Could you please help me figure out what’s happening or what wrong am I doing?
It works on my local matching under http://localhost:5000/admin
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
AdminBro behind a reverse proxy server? - Bountysource
Hi,. I have been trying to find it but I am unable to find anything regarding running AdminBro behind a proxy server.
Read more >static resources behind a reverse proxy server
Two localhost web servers are developed separately without the knowledge of each other and proxy server. Both setup using NodeJS and ...
Read more >Behind a reverse proxy | Socket.IO
You will find below the configuration needed for deploying a Socket.IO server behind a reverse-proxy solution, such as: NginX; Apache HTTPD ...
Read more >Strapi doesn't work behind a reverse proxy #8487 - GitHub
Nevermind, I've got it working with this configuration on ./config/server.js : module.exports = ({ env }) ...
Read more >Question - Plesk admin interface behind reverse proxy
Hi everyone I'm using plesk behind a reverse proxy as described in ... without manually modifying the nginx config on the server itself?...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I get around these reverse proxy issues by creating a separate app (using nest easily done within the same webapp). So it gets its own port for adminbro… keeping the incoming app path the same as the downstream app prevents those kind of issues that usually require some rewrite rules.
So my NodeJS server is running with a base URL of
www.example.com/sparkstaging/api/
behind Nginx. In admin bro options I have therootPath: "/database"
andloginPath: "/databaselogin"
. Everytime I go towww.example.com/sparkstaging/api/database
I am routed towww.example.com/databaselogin
which results in 404.