Commit c966c916b57f7c8520578a3a6dcd85b978a08f99

Authored by Sergio Oliveira
1 parent f8be8e15

Removed old Nginx files

puppet/modules/colab/templates/nginx/extra_conf.erb
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
1 -add_header Vary Accept-Encoding;  
2 -add_header Cache-control public;  
3 -  
4 -log_format proxy '$remote_addr $http_x_forwarded_for '  
5 - '$remote_user [$time_local] "$request" '  
6 - '$upstream_status "$http_referer" '  
7 - 'response_time: $upstream_response_time '  
8 - 'cache_status: $upstream_cache_status';  
9 \ No newline at end of file 0 \ No newline at end of file
puppet/modules/colab/templates/nginx/site_default.erb
@@ -1,58 +0,0 @@ @@ -1,58 +0,0 @@
1 -upstream django {  
2 - server 127.0.0.1:8000;  
3 -}  
4 -  
5 -server {  
6 - listen 80 default_server;  
7 - server_name _;  
8 - return 444;  
9 -}  
10 -  
11 -server {  
12 - listen 80;  
13 -  
14 - root /;  
15 - server_name colab.interlegis.leg.br colab01a.interlegis.leg.br colab01b.interlegis.leg.br colab.interlegis.gov.br colab-demo.tracy.com.br localhost;  
16 -  
17 - location @django {  
18 - proxy_hide_header Vary;  
19 - proxy_read_timeout 300s;  
20 - proxy_connect_timeout 300s;  
21 - proxy_pass_header Server;  
22 - proxy_set_header Host $http_host;  
23 - proxy_redirect off;  
24 - proxy_set_header X-Real-IP $remote_addr;  
25 - proxy_set_header X-Scheme $scheme;  
26 - proxy_set_header X-Forwarded-Protocol https;  
27 - proxy_pass http://django;  
28 - access_log /var/log/nginx/proxy-access.log proxy;  
29 - }  
30 -  
31 - location /http-bind {  
32 - proxy_pass http://127.0.0.1:5280;  
33 - }  
34 -  
35 - location /chrome {  
36 - proxy_pass http://10.1.2.81;  
37 - }  
38 -  
39 - location /raw-attachment {  
40 - proxy_pass http://10.1.2.81;  
41 - }  
42 -  
43 - location /ci/static {  
44 - proxy_pass http://10.1.2.171:8080;  
45 - }  
46 -  
47 - location /ci/adjuncts {  
48 - proxy_pass http://10.1.2.171:8080;  
49 - }  
50 -  
51 - location / {  
52 - try_files /home/colab/colab/www$uri @django;  
53 - }  
54 -  
55 - location /static {  
56 - try_files /home/colab/colab/www$uri @django;  
57 - }  
58 -}