nginx suite

This commit is contained in:
Nicolas Bally 2017-10-02 20:41:37 +02:00
parent 7a3f493b0e
commit 829a432d71

View File

@ -57,3 +57,17 @@ server {
client_max_body_size 4G; client_max_body_size 4G;
keepalive_timeout 10; keepalive_timeout 10;
} }
server {
listen 443 ssl;
ssl on;
ssl_certificate /etc/nginx/ssl/ecole_eft_app/monserveur.crt;
ssl_certificate_key /etc/nginx/ssl/ecole_eft_app/monserveur.key;
server_name *.ecole-eft-france.fr www.ecole-eft-france.fr;
rewrite ^(.*) https://ecole-eft-france.fr$1 permanent;
}