Skip to content

Commit 5d68735

Browse files
committed
#33: remove redundant sections
1 parent e6a2249 commit 5d68735

2 files changed

Lines changed: 12 additions & 15 deletions

File tree

ctor/etc/nginx/sites-available/loglist

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,23 @@
1818
##
1919

2020
server {
21-
listen 443 ssl http2;
22-
server_name loglist.net;
23-
keepalive_timeout 60;
24-
include /etc/nginx/ssl.conf;
25-
26-
location / {
27-
proxy_set_header X-Forwarded-Host $host;
28-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
29-
proxy_set_header X-Forwarded-Proto $scheme;
30-
proxy_set_header Host loglist.net;
31-
proxy_http_version 1.1;
32-
proxy_pass http://localhost:9000/;
33-
}
21+
listen 443 ssl http2;
22+
server_name loglist.net;
23+
include /etc/nginx/ssl.conf;
24+
25+
location / {
26+
proxy_set_header X-Forwarded-Host $host;
27+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
28+
proxy_set_header X-Forwarded-Proto $scheme;
29+
proxy_set_header Host loglist.net;
30+
proxy_http_version 1.1;
31+
proxy_pass http://localhost:9000/;
32+
}
3433
}
3534

3635
server {
3736
listen 443 ssl http2;
3837
server_name *.loglist.net;
39-
keepalive_timeout 60;
4038
include /etc/nginx/ssl.conf;
4139

4240
location / {

ctor/etc/nginx/sites-available/tales

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
server {
22
listen 443 ssl http2;
33
server_name tales.codingteam.org.ru;
4-
keepalive_timeout 60;
54
include /etc/nginx/ssl.conf;
65

76
location / {

0 commit comments

Comments
 (0)