Skip to content

Enabling HTTPS should be easy and not require Ruby / rails knowledge? #207

Closed
@MorgusLethe

Description

@MorgusLethe

I apologize in advance if this is not the appropriate place for this suggestion.

I have successfully setup a redmine container, but I am having difficulties with enabling HTTPS, since I am not familiar with Ruby or rails. In my opinion, "How to enable HTTPS" should be a part of the Docker Hub documentation.

In the spirit of simplicity, I would hope that it could be done just by overriding the default image command from rails server -b 0.0.0.0 to something else, but so far I have not been successful. The closest I got was through here, where it is suggested to use rails s -b 'ssl://localhost:3000?key=path/to/file/localhost.key&cert=path/to/file/localhost.crt', but this does not work for me; no matter what I put in as the argument to -b, it always prepends "http" and appends ":3000".

I don't want this issue to be too long, but as a user of this redmine image, I am having a lot of trouble with enabling HTTPS, the closest I got was to modify config.ru and create a whole new server instance that does use my certificates.

What is the simplest answer to "how to enable HTTPS using this docker redmine image?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions