HTTP to HTTPS redirect proper setup?

Eric Zimmerman May 20, 2024

We recently switched from HTTP on port 8080 to HTTPS on port 443 on Jira 9.12.6 on Windows Server 2019.

We enabled both HTTP and HTTPS since we still want REST API to work on port 8080 while we transition.

I have been reading articles and experimenting redirect and rewrites to automatically redirect the user to HTTPS if they type in the old HTTP one. I was also hopeful to prevent any dead links for any links stored in documentation.

With just the redirect port set and enabled security option within the config, it seems to redirect from http to https, but does not re-write the port. When I've attempted using the rewrite config, I've had errors relating to style sheets and other.

Could you provide the correct steps to properly add HTTPS and redirect the user from HTTP on port to HTTPS (on port 443) when they access through the web other than through REST API?

1 answer

0 votes
Pavel Junek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 21, 2024

Hi Eric,

In a Windows Server environment, I would probably solve this method of remapping by setting it up via Apache:

Pavel

Eric Zimmerman May 22, 2024

Thanks for the feedback.

Those seem like bigger endeavors than I hoped for. Any other alternatives... preferably through existing configuration files and options?

Pavel Junek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 27, 2024

Unfortunately, I don't think I can give you any more advice. I'm not sure if this can be achieved just by changing the configuration files - probably not.

Suggest an answer

Log in or Sign up to answer