antonovmaxim commited on
Commit
f1cbde9
·
1 Parent(s): df00088

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +1 -14
nginx.conf CHANGED
@@ -6,7 +6,7 @@ server {
6
 
7
  resolver 1.1.1.1;
8
 
9
- location /ping {
10
  default_type application/json;
11
  return 200 '{"status":"success","result":"nginx json"}';
12
  }
@@ -21,17 +21,4 @@ server {
21
  proxy_read_timeout 86400;
22
  }
23
 
24
- location / {
25
- proxy_pass $arg_url;
26
- add_header x-url $arg_url;
27
- proxy_http_version 1.1;
28
- proxy_set_header Upgrade $http_upgrade;
29
- proxy_set_header Connection 'upgrade';
30
- proxy_cache_bypass $http_upgrade;
31
- proxy_read_timeout 86400;
32
- add_header Cache-control max-age=2592000;
33
- proxy_ssl_server_name on;
34
- proxy_ssl_verify off;
35
- }
36
-
37
  }
 
6
 
7
  resolver 1.1.1.1;
8
 
9
+ location / {
10
  default_type application/json;
11
  return 200 '{"status":"success","result":"nginx json"}';
12
  }
 
21
  proxy_read_timeout 86400;
22
  }
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }