mirror of
https://github.com/kakwa/ldapcherry
synced 2024-12-25 06:10:03 +01:00
15 lines
414 B
Nginx Configuration File
15 lines
414 B
Nginx Configuration File
|
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;
|
||
|
}
|
||
|
}
|