Need help on proxy passing

chamith Jayaweera chamithlkml at
Sat Jun 1 05:12:37 UTC 2013

I experience an issue on missing some part of the page (Long page) on
passing proxy requests. Please help me to solve this. Thank You. My
configuration file is as follow.
server {
root /usr/share/nginx/www;
index index.html index.htm;
server_name localhost;
location / {
location /doc {
root /var/www;
autoindex on;
deny all;
location /images {
root /usr/share;
autoindex off;
server {
listen 443 default_server;
ssl on;
ssl_certificate /etc/nginx/server.crt;
ssl_certificate_key /etc/nginx/server.key;
ssl_session_cache shared:SSL:10m;

location / {
proxy_set_header Host $host;
        proxy_redirect http:// https://;


Chamith Jayaweera
Software Engineer,
Cyber LMJ.
Mobile (+94)77 299 9492
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list