Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

ngnix

$
0
0
hello all.

Can I configure Nginx as proxy for apache2+webdav ?

root@web-frontend:/etc/nginx/sites-enabled# cat site-dev
server {
listen 80;
server_name mydomain.spbstu.ru;

location / {
# proxy_pass http://192.168.0.2:82/;
# proxy_set_header Host $host;
# proxy_set_header Client-IP $http_client_ip;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header Destination $http_destination;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;

proxy_pass http://192.168.0.2:82;



}
}

I may view files from browser and auth, but can not connect share for client host. :(




Thanks.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>