Disabling HSTS on a per domain basis?

%3CLINGO-SUB%20id%3D%22lingo-sub-2439557%22%20slang%3D%22en-US%22%3EDisabling%20HSTS%20on%20a%20per%20domain%20basis%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2439557%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20a%20way%20to%20disable%20HSTS%20on%20a%20specific%20domain%3F%20-%20In%20this%20case%20%22localhost%22.%26nbsp%3B%20I%20have%20a%20mix%20of%20local%20applications%20that%20have%20a%20web%20interface%20that%20run%20locally%20on%20different%20ports%20some%20run%20on%20HTTP%20like%20%22Jupyter%20Notebooks%22%20and%20others%20run%20on%20HTTPS%2C%20but%20on%20a%20custom%20port.%20As%20soon%20as%20I%20hit%20the%20application%20that%20runs%20on%20HTTPS%20then%20edge%20decides%20that%20all%20calls%20to%20HTTP%2C%20irrespective%20of%20port%2C%20should%20now%20run%20on%20HTTPS%20which%2C%20not%20surprisingly%20causes%20the%20HTTP%20apps%20to%20fail%20as%20edge%20tries%20to%20redirect%20from%20HTTP%20on%20port%20x%20to%20HTTPS%20on%20port%20x.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20do%20know%20about%20clearing%20the%20cache%20but%20this%20is%20a%20temporary%20solution%20and%20I'm%20looking%20for%20something%20more%20permanent%20to%20fix%20this%20broken%20logic.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Is there a way to disable HSTS on a specific domain? - In this case "localhost".  I have a mix of local applications that have a web interface that run locally on different ports some run on HTTP like "Jupyter Notebooks" and others run on HTTPS, but on a custom port. As soon as I hit the application that runs on HTTPS then edge decides that all calls to HTTP, irrespective of port, should now run on HTTPS which, not surprisingly causes the HTTP apps to fail as edge tries to redirect from HTTP on port x to HTTPS on port x.

 

I do know about clearing the cache but this is a temporary solution and I'm looking for something more permanent to fix this broken logic.

0 Replies