|
Xdev Host Manager
authored
2 days ago
|
1
|
server {
|
|
|
2
|
listen 192.168.2.100:80;
|
|
|
3
|
server_name hosts.madagascar.xdev.ro;
|
|
|
4
|
|
|
|
5
|
access_log /var/log/nginx/hosts.madagascar.xdev.ro.access.log main;
|
|
|
6
|
error_log /var/log/nginx/hosts.madagascar.xdev.ro.error.log warn;
|
|
|
7
|
|
|
|
8
|
client_max_body_size 256k;
|
|
|
9
|
|
|
|
10
|
add_header X-Content-Type-Options nosniff always;
|
|
|
11
|
add_header X-Frame-Options DENY always;
|
|
|
12
|
add_header Referrer-Policy no-referrer always;
|
|
|
13
|
|
|
Xdev Host Manager
authored
2 days ago
|
14
|
location = /healthz {
|
|
|
15
|
return 404;
|
|
|
16
|
}
|
|
|
17
|
|
|
Xdev Host Manager
authored
2 days ago
|
18
|
location / {
|
|
|
19
|
proxy_pass http://127.0.0.1:8088;
|
|
|
20
|
proxy_http_version 1.1;
|
|
|
21
|
proxy_set_header Host $host;
|
|
|
22
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
23
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
24
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
25
|
proxy_read_timeout 30s;
|
|
|
26
|
}
|
|
|
27
|
}
|