Adds support for Real_ip in logs closes #106
This commit is contained in:
@@ -12,10 +12,13 @@ server {
|
||||
sendfile off;
|
||||
|
||||
# Add stdout logging
|
||||
|
||||
error_log /dev/stdout info;
|
||||
access_log /dev/stdout;
|
||||
|
||||
# Add option for x-forward-for (real ip when behind elb)
|
||||
#real_ip_header X-Forwarded-For;
|
||||
#set_real_ip_from 172.16.0.0/12;
|
||||
|
||||
location / {
|
||||
# First attempt to serve request as file, then
|
||||
# as directory, then fall back to index.html
|
||||
|
||||
Reference in New Issue
Block a user