Skip to content

Commit a76d48c

Browse files
committed
Fixed .conf file indention
1 parent 6a00432 commit a76d48c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

etc/nginx/sites-enabled/nginx-example.conf

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
server {
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 / {

0 commit comments

Comments
 (0)