1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-01 13:35:51 +01:00
ldapcherry/goodies/nginx.conf

15 lines
414 B
Nginx Configuration File
Raw Normal View History

2015-07-20 01:43:44 +02:00
server {
listen 80 default_server;
server_name $hostname;
#access_log /var/log/nginx/dnscherry_access_log;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $remote_addr;
}
}