diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-02-20 17:04:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 17:04:30 +0100 |
commit | 9be3f0fda4e21180f33ff4adc81b888ba1ed8332 (patch) | |
tree | aef82ca371f0a9853b889a82499ec6a78959793e /nginx-server.conf | |
parent | Update README.md (diff) | |
download | balkan-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 |
Diffstat (limited to 'nginx-server.conf')
-rw-r--r-- | nginx-server.conf | 7 |
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 |