Jump to content

Getting rid of "/web/index.html#!/" behind NGINX reverse proxy?


Recommended Posts

Posted

Is there any way to get rid of the "/web/index.html#!/" in the path of Emby? I'm running the server behind an NGINX reverse proxy, and I'd like to get rid of this for two reasons: (1) it's kind of ugly, and (2) in the server settings page, all of the links are reported as "https://mydomain.tld/settings/...", "https://mydomain.tld/home", and so on. When I just normally click on these, it properly redirects me with the /web/index.html#!/ path prefix, but if I "open in new tab" then it takes me to the reported location and I get an error. I use "open in new tab" a lot, so this is pretty troublesome for me.
 

This is my NGINX configuration, if it's helpful at all.

server {
        server_name music.mydomain.tld;

        location / {
                proxy_pass http://localhost:8096;
                proxy_redirect off;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }

        listen [::]:443 ssl; # managed by Certbot
        listen 443 ssl; # managed by Certbot
        ssl_certificate /etc/letsencrypt/live/mydomain.tld/fullchain.pem; # managed by Certbot
        ssl_certificate_key /etc/letsencrypt/live/mydomain.tld/privkey.pem; # managed by Certbot
        include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
        ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}

 

Posted

Hi, you might be able to figure something out but I'm really not sure. We don't have a documented way to do this.

pir8radio
Posted (edited)

are you just saying "its ugly" to the address in the address bar?   You know chrome hides all of that automatically (shown below)  🙂    But no easy way to do that even through nginx, as a reverse proxy.

image.png.a579b4f4da77ea20029d22f785493a5f.png

 

I mean you can sort of hide it throwing it all in an iframe or something dumb like that as an option.

Edited by pir8radio

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...