Merge branch '7015-update-user-guide'
[arvados.git] / sdk / python / tests / nginx.conf
1 daemon off;
2 error_log stderr info;          # Yes, must be specified here _and_ cmdline
3 events {
4 }
5 http {
6   access_log {{ACCESSLOG}} combined;
7   upstream arv-git-http {
8     server localhost:{{GITPORT}};
9   }
10   server {
11     listen *:{{GITSSLPORT}} ssl default_server;
12     server_name _;
13     ssl_certificate {{SSLCERT}};
14     ssl_certificate_key {{SSLKEY}};
15     location  / {
16       proxy_pass http://arv-git-http;
17     }
18   }
19   upstream keepproxy {
20     server localhost:{{KEEPPROXYPORT}};
21   }
22   server {
23     listen *:{{KEEPPROXYSSLPORT}} ssl default_server;
24     server_name _;
25     ssl_certificate {{SSLCERT}};
26     ssl_certificate_key {{SSLKEY}};
27     location  / {
28       proxy_pass http://keepproxy;
29     }
30   }
31 }