Advertisement
Guest User

Untitled

a guest
Oct 6th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.78 KB | None | 0 0
  1. server {
  2.   listen       80;
  3.   listen       [::]:80;
  4.  
  5.   server_name  fm.acko.net;
  6.  
  7.   root /var/www/linode/fridge2;
  8.   index index.html;
  9.  
  10.   location = / {
  11.   }
  12.  
  13.   location = /index.html {
  14.   }
  15.  
  16.   location ~ /. {
  17.     add_header 'Access-Control-Allow-Origin' '*';
  18.  
  19.     proxy_buffering           off;
  20.     proxy_ignore_client_abort off;
  21.     proxy_intercept_errors    on;
  22.     proxy_next_upstream       error timeout invalid_header;
  23.     proxy_redirect            off;
  24.     proxy_set_header          X-Host $http_host;
  25.     proxy_set_header          X-Forwarded-For $remote_addr;
  26.     proxy_connect_timeout     60;
  27.     proxy_send_timeout        21600;
  28.     proxy_read_timeout        21600;
  29.     proxy_pass http://127.0.0.1:8000;
  30.     proxy_set_header          Host fm.acko.net;
  31.   }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement