ssl
This commit is contained in:
parent
8e2dee4218
commit
da1495fb49
@ -32,7 +32,7 @@
|
|||||||
=link_to "Une question ?", "/me-contacter.html"
|
=link_to "Une question ?", "/me-contacter.html"
|
||||||
|
|
||||||
#banner
|
#banner
|
||||||
=link_to image_tag("logo.png", :id => "logo"), "/"
|
=link_to image_tag("logo.png", :id => "logo", :alt => "Blog EFT"), "/"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ server {
|
|||||||
root /home/web/blog_eft_app/current/public;
|
root /home/web/blog_eft_app/current/public;
|
||||||
|
|
||||||
ssl on;
|
ssl on;
|
||||||
ssl_certificate /etc/nginx/ssl/blog_eft_app/monserveur.crt;
|
ssl_certificate /etc/letsencrypt/live/blog.technique-eft.com/fullchain.pem; # managed by Certbot
|
||||||
ssl_certificate_key /etc/nginx/ssl/blog_eft_app/monserveur.key;
|
ssl_certificate_key /etc/letsencrypt/live/blog.technique-eft.com/privkey.pem; # managed by Certbot
|
||||||
|
|
||||||
|
|
||||||
try_files $uri/index.html $uri @unicorn;
|
try_files $uri/index.html $uri @unicorn;
|
||||||
@ -58,4 +58,7 @@ server {
|
|||||||
error_page 500 502 503 504 /500.html;
|
error_page 500 502 503 504 /500.html;
|
||||||
client_max_body_size 4G;
|
client_max_body_size 4G;
|
||||||
keepalive_timeout 10;
|
keepalive_timeout 10;
|
||||||
|
|
||||||
|
include snippets/letsencrypt.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user