Advertisement
Guest User

Untitled

a guest
Oct 12th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.59 KB | None | 0 0
  1. ##########################################
  2.  
  3. ## Nemesida WAF API
  4.  
  5. ##########################################
  6.  
  7.  
  8. server {
  9.  
  10.  
  11.         listen  8081;
  12.  
  13.         root    /var/www/html;
  14.  
  15.  
  16.         uwsgi_read_timeout              600s;
  17.  
  18.         uwsgi_send_timeout              600s;
  19.  
  20.         uwsgi_connect_timeout           120s;
  21.  
  22.         uwsgi_ignore_client_abort       on;
  23.  
  24.  
  25.         location /nw-api/ {
  26.  
  27.                 alias           /var/www/nw-api/;
  28.  
  29.                 include         uwsgi_params;
  30.  
  31.                 uwsgi_pass      unix:/var/www/nw-api/nw-api.sock;
  32.  
  33.         }
  34.  
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement