SrVirtual 3 Posted June 30, 2024 Posted June 30, 2024 Hello, how are you doing? I would like to make a local URL change on my server Currently my local URL is http://localhost/web/index.html#!/home And I wish it was something more cora like http://localhost/home that is, that /web/index.hml#! since this are always fixed and do not change
SrVirtual 3 Posted June 30, 2024 Author Posted June 30, 2024 (edited) Yes, of course, it grabs but when I hit enter the url changes back to its original state and the original state is what I want to change Edited June 30, 2024 by SrVirtual
SrVirtual 3 Posted June 30, 2024 Author Posted June 30, 2024 how is that a FR?, I never heard of that
visproduction 315 Posted June 30, 2024 Posted June 30, 2024 SRV, Browser changing back to original URL address is probably a browser cache issue. Clear the browser cache?
SrVirtual 3 Posted June 30, 2024 Author Posted June 30, 2024 No friend, my goal is to make my local URL shorter, it's not a cache problem. I was researching and I think that with a local reverse proxy it can be achieved, the fact is that I already tried but when I place the url as I want it to be it is automatically changed to its original state
Happy2Play 9781 Posted June 30, 2024 Posted June 30, 2024 There isn't a way as that is how Emby urls work. Don't know reverse proxies but that will probably be your only option. As your method localhost:8096/home does not exist. The file '/home' cound not be found.
SrVirtual 3 Posted July 2, 2024 Author Posted July 2, 2024 My goal is to go from being http://localhost:8096//web/index.html#!/ to http://localhost:8096/ or at least http://localhost:8096//web/ That is, I want the url not to originally say index.html
Luke 42080 Posted July 2, 2024 Posted July 2, 2024 http://localhost:8096/ This already works just fine.
sh0rty 717 Posted July 2, 2024 Posted July 2, 2024 (edited) @SrVirtualIf I understand right, you try to achieve a permanent shortening of the Emby URL, not just first time a user types it in the adress bar. If so, what you are searching for is an URL rewrite via a reverse proxy like Caddy Server or NGINX like @Happy2Playmentioned. https://www.digitalocean.com/community/tutorials/nginx-rewrite-url-rules https://caddyserver.com/docs/caddyfile/directives/rewrite To setup a Reverse proxy, there are plenty of tutorials in this forum: But I don't know how Emby reacts on the URL rewrites. Edited July 2, 2024 by shorty1483
Lessaj 467 Posted July 2, 2024 Posted July 2, 2024 What purpose would this actually serve? Why do you need this? 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now