Welcome! Log In Create A New Profile


Using Nginx as proxy content are "striped"

October 19, 2016 08:04AM
Hello All,

I am using Nginx for proxy to OpenGrok server using following conf below , the issue i have is that the proxy works but seems to be missing content and not works as expected.
Any idea how to make it work better?
Please advise

server {
listen 80;
return 301 https://$host$request_uri;

server {

listen 443;
server_name gfn-docker.daet.local;

ssl_certificate /etc/nginx/cert.crt;
ssl_certificate_key /etc/nginx/cert.key;

ssl on;
ssl_session_cache shared:SSL:30m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;

access_log /var/log/nginx/jenkins.access.log;

location / {
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_max_temp_file_size 0;
client_max_body_size 30m;
client_body_buffer_size 512k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 12k;
proxy_buffers 4 64k;
proxy_busy_buffers_size 128k;
proxy_temp_file_write_size 128k;
Subject Author Posted

Using Nginx as proxy content are "striped"

tbaror October 19, 2016 08:04AM

Re: Using Nginx as proxy content are "striped"

itpp2012 October 19, 2016 08:52AM

Re: Using Nginx as proxy content are "striped"

tbaror October 19, 2016 10:08AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
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