SHARE
TWEET

Untitled

a guest Dec 13th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.         listen 443 ssl http2;        listen [::]:443 ssl http2;
  3.         server_name tools.domain.net;        access_log /var/log/nginx/access.log;
  4.         client_max_body_size 100M;        large_client_header_buffers 8 32k;
  5.  
  6.        location /cctool/ {
  7.                 proxy_pass http://192.168.62.102:8080/;
  8.                 proxy_set_header        Host $host;
  9.                 proxy_set_header        X-Real-IP $remote_addr;
  10.                 proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
  11.                 proxy_set_header        X-Forwarded-Proto $scheme;
  12.                 proxy_set_header        X-Forwarded-Host   $host:443;
  13.                 proxy_set_header        X-Forwarded-Server $host;
  14.                 proxy_http_version 1.1;
  15.                 proxy_set_header Upgrade $http_upgrade;
  16.                 proxy_set_header Connection "upgrade";
  17.         }
  18. }
  19.    
  20. <Directory /var/www/tools.domain.net>
  21.     AllowOverride None
  22.     Require all denied
  23. </Directory>
  24.  
  25. <VirtualHost *:80>
  26.     DocumentRoot /var/www/clients/client1/web3/web
  27.  
  28.     ServerName tools.domain.net
  29.     ServerAdmin webmaster@tools.domain.net
  30.  
  31.     ErrorLog /var/log/ispconfig/httpd/tools.domain.net/error.log
  32.  
  33.     WSGIDaemonProcess cctool
  34.     WSGIScriptAlias /cctool/ /var/www/support.domain.net/cctool/cctool.wsgi
  35.  
  36.     <Directory /var/www/support.domain.net/cctool/>
  37.             WSGIProcessGroup cctool
  38.             WSGIApplicationGroup %{GLOBAL}
  39.             Order deny,allow
  40.             Require all granted
  41.             Allow from all
  42.     </Directory>
  43. </VirtualHost>
  44.    
  45. 2018/12/13 15:03:51 [error] 18695#18695: *5487204 upstream prematurely closed connection while reading response header from upstream, client: 192.168.10.91, server: tools.domain.net, request: "GET /cctool/ HTTP/1.1", upstream: "http://192.168.62.102:80/cctool/", host: "tools.domain.net"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top