Project

General

Profile

Redmine in https

Added by Gonzalo Vidal about 2 months ago

Hello...

I have 5.1.1.stable version installed on a centos 7.

I'm looking for information on how to set redmine to https, but I don't know where to start since everything I find on the subject is old. Can you help me please?

Thanks.


Replies (3)

RE: Redmine in https - Added by David from RedminePRO.com about 1 month ago

Hello there,

CentOS project is already killed and CentOS7 is already End Of Life.

So it is nearly impossible to get packages for HTTP setup. Use any other linux flavours.

-- David https://redminepro.com/

RE: Redmine in https - Added by Gonzalo Vidal about 1 month ago

Hello, thanks, but the solution is simple; centos 7 can still be updated by yum from the vault.org repository to the latest 7 release, while to get redmine working on https you simply need to do a redirect through nginx (or apache).

server {
listen 443 ssl;
server_name <server>;

ssl_certificate /etc/ssl/certs/xxx.crt;
ssl_certificate_key /etc/ssl/private/xxx.key;
location / {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

RE: Redmine in https - Added by David from RedminePRO.com about 1 month ago

It is risky if you are running it on the public internet. Nobody is going to provide any security update for CentOS7.

Yes, you can use paid SSL and if you have the SSL package installed.

Also, it is recommended to use passenger in production.

-- David https://redminepro.com/

    (1-3/3)