Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.56 KB | None | 0 0
  1. http {
  2.     include       mime.types;
  3.     default_type  application/octet-stream;
  4.  
  5.     #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
  6.     #                  '$status $body_bytes_sent "$http_referer" '
  7.     #                  '"$http_user_agent" "$http_x_forwarded_for"';
  8.  
  9.     #access_log  logs/access.log  main;
  10.  
  11.     sendfile        on;
  12.     #tcp_nopush     on;
  13.  
  14.     #keepalive_timeout  0;
  15.     keepalive_timeout  65;
  16.  
  17.     #gzip  on;
  18.    
  19.     include "C:/laragon/etc/nginx/php_upstream.conf";
  20.     include "C:/laragon/etc/nginx/sites-enabled/*.conf";
  21.     client_max_body_size 2000M;
  22.     server_names_hash_bucket_size 64;
  23.     #keepalive_requests 500;
  24.     #proxy_http_version 1.1;
  25.    
  26.     #keepalive_timeout 65;
  27.     keepalive_requests 100000;
  28.     #sendfile on;
  29.     tcp_nopush on;
  30.     tcp_nodelay on;
  31.    
  32.     client_header_timeout  3m;
  33.     client_body_timeout    3m;
  34.     send_timeout           3m;
  35.    
  36.     open_file_cache          max=2500 inactive=15;
  37.     open_file_cache_valid    60s;
  38.     open_file_cache_min_uses 5;
  39.     open_file_cache_errors   off;
  40.    
  41.     gzip on;
  42.     gzip_vary on;
  43.     gzip_min_length 50;
  44.     gzip_comp_level 9;
  45.     gzip_buffers 16 8k;
  46.     gzip_proxied any;
  47.     gzip_proxied expired no-cache no-store private auth;
  48.     #gzip_types: text/html application/x-javascript text/css application/javascript text/javascript text/plain text/xml application/json application/vnd.ms-fontobject application/x-font-opentype application/x-font-truetype application/x-font-ttf application/xml font/eot font/opentype font/otf image/svg+xml image/vnd.microsoft.icon;
  49.     #gzip_disable "MSIE [1-6]\.”;
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement