Welcome! Log In Create A New Profile

Advanced

Need help on proxy passing

chamith Jayaweera
June 01, 2013 01:14AM
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 / {
proxy_pass https://127.0.0.1:3000/;
}
location /doc {
root /var/www;
autoindex on;
allow 127.0.0.1;
deny all;
}
location /images {
root /usr/share;
autoindex off;
}
}
server {
listen 443 default_server;
server_name chamithlkml.com;
ssl on;
ssl_certificate /etc/nginx/server.crt;
ssl_certificate_key /etc/nginx/server.key;
ssl_session_cache shared:SSL:10m;
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;

location / {
proxy_pass https://127.0.0.1:3000/;
proxy_set_header Host $host;
proxy_redirect http:// https://;
}
}




--

Chamith Jayaweera
Software Engineer,
Cyber LMJ.
Mobile (+94)77 299 9492
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Need help on proxy passing

chamith Jayaweera June 01, 2013 01:14AM

Re: Need help on proxy passing

Maxim Dounin June 02, 2013 08:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 266
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready