Advertisement
fedorm

Untitled

Feb 18th, 2020
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.86 KB | None | 0 0
  1. events {}
  2. http {
  3.     sendfile on;
  4.     tcp_nopush on;
  5.     tcp_nodelay on;
  6.     keepalive_timeout 15;
  7.     types_hash_max_size 2048;
  8.     server_tokens off;
  9.  
  10.     include /etc/nginx/mime.types;
  11.  
  12.     access_log off;
  13.     error_log /var/log/nginx/error.log;
  14.  
  15.     gzip on;
  16.     gzip_min_length 100;
  17.     gzip_http_version 1.1;
  18.     gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
  19.  
  20.     client_max_body_size 8M;
  21.  
  22. server {
  23.     listen 80;
  24.     server_name hd.center2m.com;
  25.  
  26. location / {
  27.  
  28.      proxy_pass http://141.101.246.138:8080;
  29. }
  30.  
  31.  
  32. location = / {
  33.     proxy_redirect off;
  34.     proxy_set_header Host $host:$server_port;
  35.     proxy_set_header X-Real-IP $remote_addr;
  36.     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  37.       proxy_pass http://141.101.246.138:8080/servicedesk/customer/portals;
  38. }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement