-
-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathnginx.conf
More file actions
27 lines (21 loc) · 641 Bytes
/
Copy pathnginx.conf
File metadata and controls
27 lines (21 loc) · 641 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
server {
listen 8080;
autoindex on;
server_name my.patrowl.io localhost;
root .;
# access_log var/log/nginx.patrowlmanager-access.log;
# error_log var/log/nginx.patrowlmanager-error.log;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Proxy "";
}
location /static {
alias ./staticfiles;
}
# location /media {
# alias ./media;
# }
}