Redirect HTTP to HTTPS by default

SYSTEM INFORMATION
OS type and version RHEL 9
Webmin version 2.001
Virtualmin version 7.3
Related packages SUGGESTED

It appears that the setting:
Virtualmin Configuration → SSL Setting → Redirect HTTP to HTTPS by default

has been removed, is there an alternative to force https?

Is this not in Server Configuration -> Website Options -> Redirect all requests to SSL site

1 Like

Yes, but that only applies to the currently selected virtual server which has already been created.

I want it to be the default for new servers yet to be created.

As it was previously.

@Randomz
Sorry, not been on here long enough to know that.
But if I were guessing I would guess somewhere in a template (wherever/if that can be changed) or to change after each virtual server is added. (I would go to the Virtual Host Settings -> Virtual Host Definition and then “disable” port 80 (Not a good idea)

I think you need some input from @staff here - or at least someone on here long enough to know what has actually changed - gook luck :red_gift_envelope: :crossed_fingers:

In the 7.3 Virtualmin release, you can turn on SSL redirects for new domains at System Settings → Server Templates → Default Settings → Website for Domain → Redirect all HTTP requests to HTTPS.

4 Likes

Not same, but similar problem here (virtualmin 7.3.1).
“Redirect to https” seems not to be not working anymore. If I tag the “yes” filed and confirm it ends up with no error message and "yes"is still not checked.

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