How do I redir to port 443 when I only have an https server running on port 8443?
I’m trying to make all requests to port :80 redir to :443. but none of them work except for some configurations. It just redir to 8443. What should I do?
Servers located on port 5000 are not allowed to use https. then I was hoping that the auto https feature would work either way. I tried it and now it works, so I guess I better leave it alone
For some reason, this problem no longer occurs. Even when I re-enabled the configuration that was previously considered problematic, and tested with curl, fiddler failed to reproduce the previous issue again. Thanks again for your reply!
I understand. For caddy’s auto https, the automatic redir to the first https enabled site is the default behavior. It doesn’t matter if that site’s port is 443. So I need: auto_https disable_redirects
and:
I forgot to add more background description, sorry. port 443 is occupied by other application. caddy only handles port 5000, port 80. port 8443 is used to spoof caddy to issue certificates for the whole site.
Why not just change the port of that app to something else, then have Caddy proxy to it? Much simpler if Caddy has ports 80+443, especially for solving ACME challenges.
I couldn’t find a way to properly configure that program, so I had to leave it on port 443. By the way, I accidentally gave away my site ip in a reply. Is there any way to remove it?
Thank a lot. Some kind of dashboard I guess? The network configuration seems to be hardcoded inside the program. I didn’t find anything about it in the documentation anyway.