summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-02-20 17:04:30 +0100
committerGitHub <noreply@github.com>2020-02-20 17:04:30 +0100
commit9be3f0fda4e21180f33ff4adc81b888ba1ed8332 (patch)
treeaef82ca371f0a9853b889a82499ec6a78959793e
parentUpdate README.md (diff)
downloadbalkan-shortlink-9be3f0fda4e21180f33ff4adc81b888ba1ed8332.tar
balkan-shortlink-9be3f0fda4e21180f33ff4adc81b888ba1ed8332.tar.gz
balkan-shortlink-9be3f0fda4e21180f33ff4adc81b888ba1ed8332.tar.bz2
balkan-shortlink-9be3f0fda4e21180f33ff4adc81b888ba1ed8332.tar.lz
balkan-shortlink-9be3f0fda4e21180f33ff4adc81b888ba1ed8332.tar.xz
balkan-shortlink-9be3f0fda4e21180f33ff4adc81b888ba1ed8332.tar.zst
balkan-shortlink-9be3f0fda4e21180f33ff4adc81b888ba1ed8332.zip
-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