citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

npmrepo.com (446B)


      1 server {
      2   listen 80;
      3   server_name npmrepo.com www.npmrepo.com;
      4 
      5   location / {
      6     proxy_pass  http://localhost:9676;
      7     proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
      8     proxy_redirect off;
      9     proxy_buffering off;
     10     proxy_set_header        Host            $host;
     11     proxy_set_header        X-Real-IP       $remote_addr;
     12     proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
     13   }
     14 }