BitShares Forum
Main => Technical Support => Topic started by: dexer on January 21, 2019, 10:26:30 am
-
Nginx returns 404 when I hit the address; /market/USD_OPEN.BTC
But, it is okay if I hit /#/market/USD_OPEN.BTC
Here is my conf;
location / {
proxy_set_header Host $host;
proxy_set_header X-Accel-Expires 0;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
-
And what is your question now? :)
-
Please check your PM.
-
Please check your PM.
Thank you! But, it does not work out.
And what is your question now? :)
/market/USD_OPEN.BTC then you will see
-
And what is your question now? :)
He probably wants to make permanent redirect for anything with /#/ to remove # and on trailing slash. But it comes from code of UI and making such redirects would be a big no-no as my friendly advice.
CheeĀ®s
-
Afair, the bitswhaes-ui somewhere has a "github" flag in the configs (check package.json or webpack)
That makes sure that the compile version uses "/#/" for routing. Else you need to tell nginx to redirect those paths back to index.html
-
The part after the # never makes it to the server...