bonjour,

ma machine n'est pas automatiquement rediriger vers https

le paquet libnginx-http-passenger.deb n'est pas present dans le depot,
ce qui rend l'installation du paquet redmine.deb in efficace et
impossible a mettre en ligne

* comment faire pour rediriger automatiquement vers https ?
* comment vous aider pour cree le paquet libngnix-http-passenger.deb ?

bien à vous,
jean-christophe
---

http://home.blues-softwares.net/

-----------------------------------------------------------------------
jean-christophe@blues-softwares:~$ cat /etc/nginx/nginx.conf
user  www-data;
worker_processes  auto;

events {
    worker_connections  1024;
}

http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;
    access_log    /var/log/nginx/access.log;
    error_log     /var/log/nginx/error.log;
    sendfile      on;
    keepalive_timeout  65;

    # Paramètres SSL globaux
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_prefer_server_ciphers on;
    ssl_ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-
SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-
RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384';

    # Inclut les configurations des sites virtuels
    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;
}
jean-christophe@blues-softwares:~$ 

-----------------------------------------------------------------------
jean-christophe@blues-softwares:~$ cat /etc/nginx/sites-enabled/nginx-
alias.conf 
upstream redmine_default {
    # the socket provided by the application server
    server unix:/tmp/redmine-default.socket fail_timeout=0;
}
server {
    location /redmine {
        # the public directory of this instance
        alias      /var/lib/redmine/default/public/;
        try_files $uri @redmine;
    }

    location @redmine {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_redirect off;
        proxy_pass http://redmine_default;
    }
}
jean-christophe@blues-softwares:~$ 

-----------------------------------------------------------------------

Répondre à