Qbit Web UI Domain

I created a url for my qbit Web ui example: sub.domain.com:port/#/ so I wanted to know how can I turn it into sub.domain.com that’s it no port and no further lines like # ; login etc

I found that it’s possible but unable to find a tutorial for it I would love if there Is a way to do this as it will look really neat to just type sub.domain.com and it takes me to my Web ui with not showing port, # and login etc in the url bar

Can you re-configure it to work over 443 port?, which is default for HTTPS and not showing in the URL address bar of a web browser (actually it is HTTPS, but not as :2083 after the domain.tld part for example).

It might be possible using the Transform Rules like rewriting the URL path on incoming request, but I am not sure how this would work for your app as this is the “routing” part of the app itself.

At least you might be able to remove # part, but the /login or /some-page part (path) should stay “as-is” I think :thinking:

Or maybe something with Cloudflare Workers, if so.

hey

you need to configure proxy modules of your https server to forward the request internally when your webserver will find your sub.subdomain.com on 443 without webservers’ proxy it’s impossible.

...............................................................................................................................................
 <FilesMatch "\.php$"> # Apache 2.4.10+ can proxy to unix socket
            SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost/"
        </FilesMatch>
    #<FilesMatch .php$>
        # 2.4.10+ can proxy to unix socket
     #    SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost"
    #</FilesMatch>
        ProxyPreserveHost On
        ProxyPass /testwp http://localhost:2087/
        ProxyPassReverse /testwp http://localhost:2087/
</VirtualHost>

thx

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.