-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloglist
More file actions
45 lines (38 loc) · 1000 Bytes
/
loglist
File metadata and controls
45 lines (38 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-FileCopyrightText: 2016-2025 codingteam/devops contributors <https://github.com/codingteam/devops>
#
# SPDX-License-Identifier: MIT
server {
listen 443 ssl http2;
server_name loglist.xyz;
include /etc/nginx/ssl.conf;
location / {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host loglist.xyz;
proxy_http_version 1.1;
proxy_pass http://localhost:9000/;
}
}
server {
listen 443 ssl http2;
server_name *.loglist.xyz;
include /etc/nginx/ssl.conf;
location / {
return 301 https://loglist.xyz$request_uri;
}
}
server {
listen 80;
server_name loglist.xyz;
location / {
rewrite ^(.*)$ https://loglist.xyz$1 permanent;
}
}
server {
listen 80;
server_name *.loglist.xyz;
location / {
return 301 https://loglist.xyz$request_uri;
}
}