-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathnginx.conf
More file actions
27 lines (21 loc) · 600 Bytes
/
nginx.conf
File metadata and controls
27 lines (21 loc) · 600 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
events {}
http {
server {
listen 80;
listen [::]:80;
gzip on;
gzip_vary on;
# server_name sky.shiiyu.moe;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://website:3000;
}
error_page 404 500 502 503 504 /offline.html;
location = /offline.html {
root /usr/share/nginx/html;
}
}
}