TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.25k stars 418 forks source link

How does DnsServer ui counterproxy web pages #897

Closed Potterli20 closed 5 months ago

Potterli20 commented 5 months ago

I am using nginx but I have two DNSServers and also want to use nginx to counter-proxy the DnsServer web ui separately

ShreyasZare commented 5 months ago

Thanks for the post. I am not sure what the query is. Can you explain the "counter-proxy" terminology and give more details on what you wish to achieve?

Potterli20 commented 5 months ago

Thanks for the post. I am not sure what the query is. Can you explain the "counter-proxy" terminology and give more details on what you wish to achieve?

proxy_pass configuration of nginx

ShreyasZare commented 5 months ago

Thanks for the post. I am not sure what the query is. Can you explain the "counter-proxy" terminology and give more details on what you wish to achieve?

proxy_pass configuration of nginx

Ok it seems that you mean reverse proxy. Yes, it works but it wont work under a "folder" path in the URL.

Potterli20 commented 5 months ago

Thanks for the post. I am not sure what the query is. Can you explain the "counter-proxy" terminology and give more details on what you wish to achieve?

proxy_pass configuration of nginx

Ok it seems that you mean reverse proxy. Yes, it works but it wont work under a "folder" path in the URL.

The main thing is that js and css have no way to reverse proxy. I need separate ui and configuration. I configured but the other one could not reverse proxy. That's what's bothering me.

ShreyasZare commented 5 months ago

The main thing is that js and css have no way to reverse proxy. I need separate ui and configuration. I configured but the other one could not reverse proxy. That's what's bothering me.

You will need to use a subdomain for using with reverse proxy so that it works well as expected.