All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 51s
38 lines
1003 B
Plaintext
Executable File
38 lines
1003 B
Plaintext
Executable File
server {
|
|
listen 443 ssl;
|
|
server_name lecoffreio-dev2.4nkweb.com;
|
|
|
|
# ssl_certificate /etc/letsencrypt/live/lecoffreio.4nkweb.com/fullchain.pem;
|
|
# ssl_certificate_key /etc/letsencrypt/live/lecoffreio.4nkweb.com/privkey.pem;
|
|
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
ssl_prefer_server_ciphers on;
|
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
|
|
|
location / {
|
|
proxy_pass http://localhost:3006;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "Upgrade";
|
|
proxy_set_header Host $host;
|
|
}
|
|
ssl_certificate /etc/letsencrypt/live/lecoffreio-dev2.4nkweb.com/fullchain.pem; # managed by Certbot
|
|
ssl_certificate_key /etc/letsencrypt/live/lecoffreio-dev2.4nkweb.com/privkey.pem; # managed by Certbot
|
|
|
|
}
|
|
|
|
server {
|
|
if ($host = lecoffreio-dev2.4nkweb.com) {
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
|
|
listen 80;
|
|
server_name lecoffreio-dev2.4nkweb.com;
|
|
|
|
return 301 https://$host$request_uri;
|
|
|
|
|
|
|
|
|
|
}
|