suite
This commit is contained in:
parent
20636f4ffb
commit
4837b686e2
@ -11,8 +11,8 @@ server {
|
|||||||
root /srv/www/web/ballalama3_app/current/public;
|
root /srv/www/web/ballalama3_app/current/public;
|
||||||
|
|
||||||
ssl on;
|
ssl on;
|
||||||
ssl_certificate /srv/www/web/ballalama3_app/current/config/ssl/monserveur.crt;
|
ssl_certificate /etc/letsencrypt/live/ballalama.com/fullchain.pem;
|
||||||
ssl_certificate_key /srv/www/web/ballalama3_app/current/config/ssl/monserveur.key;
|
ssl_certificate_key /etc/letsencrypt/live/ballalama.com/privkey.pem;
|
||||||
|
|
||||||
|
|
||||||
try_files $uri/index.html $uri @unicorn;
|
try_files $uri/index.html $uri @unicorn;
|
||||||
@ -35,6 +35,17 @@ server {
|
|||||||
include snippets/letsencrypt.conf;
|
include snippets/letsencrypt.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen [::]:443 ssl;
|
||||||
|
server_name www.ballalama.com;
|
||||||
|
ssl on;
|
||||||
|
ssl_certificate /etc/letsencrypt/live/ballalama.com/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/ballalama.com/privkey.pem;
|
||||||
|
|
||||||
|
return 301 https://ballalama.com$request_uri;
|
||||||
|
|
||||||
|
include snippets/letsencrypt.conf;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user