File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 11server {
22
33 # Standard Directives
4- listen 443 ssl http2;
5- listen [::]:443 ssl http2;
6- server_name _;
7- root /var/www/Nginx-Example;
8- index index.html;
9- keepalive_timeout 70;
4+ listen 443 ssl http2;
5+ listen [::]:443 ssl http2;
6+ server_name _;
7+ root /var/www/Nginx-Example;
8+ index index.html;
9+ keepalive_timeout 70;
1010
11- # TLS Directives
12- add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
11+ # TLS Directives
12+ add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
1313 ssl_protocols TLSv1.2 TLSv1.3;
1414 ssl_certificate /etc/nginx/ssl/_.crt;
15- ssl_certificate_key /etc/nginx/ssl/_.key;
16- ssl_prefer_server_ciphers on;
15+ ssl_certificate_key /etc/nginx/ssl/_.key;
16+ ssl_prefer_server_ciphers on;
1717 ssl_ciphers HIGH:!aNULL:!MD5;
1818 ssl_dhparam /etc/nginx/ssl/dhparam.pem;
1919 ssl_session_cache shared:SSL:10m;
20- ssl_session_timeout 1h;
20+ ssl_session_timeout 1h;
2121
2222 # 404 error if server cant't find files in root
2323 location / {
You can’t perform that action at this time.
0 commit comments