Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
cat << 'EOF' >/etc/nginx/proxy.conf
proxy_redirect          off;
proxy_set_header        Host                    $host;
proxy_set_header        X-Real-IP               $remote_addr;
proxy_set_header        X-Forwarded-Server $hostFor         $proxy_add_x_forwarded_for;
proxy_set_header        X-Forwarded-Host        $host:$server_port;
proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_forServer      $host:$server_port;
proxy_set_header        X-Forwarded-Proto       $scheme;
client_max_body_size    10m;
client_body_buffer_size 128k;
proxy_connect_timeout   90;
proxy_send_timeout      90;
proxy_read_timeout      90;
proxy_buffers           32 4k;
proxy_pass_request_headers on;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Server $host:$server_port;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
EOF
No Format
        include                 /etc/nginx/proxy.conf;

...