summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nginx-server.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/nginx-server.conf b/nginx-server.conf
index 7293af3..44d5c46 100644
--- a/nginx-server.conf
+++ b/nginx-server.conf
@@ -1,13 +1,14 @@
server {
listen 80;
listen [::]:80;
- listen 443 ssl;
+ listen 443 ssl http2;
+ listen [::]:443 ssl http2;
root /var/www/shortlink;
index index.html index.htm index.php index.nginx-debian.html;
server_name .domain.tld; # . na začetku domene, da dela tudi www.
ssl_certificate /path/to/crt;
ssl_certificate_key /path/to/key;
- ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2;
+ ssl_protocols SSLv2 SSLv3 TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
try_files $uri $uri/ @rewrite;
@@ -24,4 +25,4 @@ server {
}
}
-# preberi se commit opis za dodatne informacije
+# preberi se prejšnji commit opis za dodatne informacije