Commit 1821f9f5c31d4771d263e3f6e85076eca367157c

Authored by Antonio Terceiro
1 parent b93dc969

Use only softwarepubico.dev as hostname for development

cookbooks/colab/templates/colab.conf.erb
@@ -5,7 +5,7 @@ upstream colab { @@ -5,7 +5,7 @@ upstream colab {
5 server { 5 server {
6 listen *:80; 6 listen *:80;
7 7
8 - server_name <%= node['config']['external_hostname'] %> softwarepublico.dev; 8 + server_name <%= node['config']['external_hostname'] %>;
9 9
10 access_log /var/log/nginx/colab.access.log; 10 access_log /var/log/nginx/colab.access.log;
11 error_log /var/log/nginx/colab.error.log; 11 error_log /var/log/nginx/colab.error.log;
cookbooks/colab/templates/settings.yaml.erb
@@ -35,7 +35,6 @@ BROWSERID_AUDIENCES: @@ -35,7 +35,6 @@ BROWSERID_AUDIENCES:
35 - <%= node['config']['site_url'].sub('https:', 'http:') %> 35 - <%= node['config']['site_url'].sub('https:', 'http:') %>
36 36
37 ALLOWED_HOSTS: 37 ALLOWED_HOSTS:
38 - - softwarepublico.dev # for development/tests  
39 - <%= node['config']['external_hostname'] %> 38 - <%= node['config']['external_hostname'] %>
40 39
41 ## Disable indexing 40 ## Disable indexing
@@ -7,10 +7,10 @@ vagrant@integration: @@ -7,10 +7,10 @@ vagrant@integration:
7 - 7 -
8 - Paulo Meirelles 8 - Paulo Meirelles
9 - paulo@softwarelivre.org 9 - paulo@softwarelivre.org
10 - external_hostname: beta.softwarepublico.gov.br  
11 - site_url: https://beta.softwarepublico.gov.br  
12 - colab_from_address: '"Portal do Software Publico" <noreply@beta.softwarepublico.gov.br>'  
13 - server_email: '"Portal do Software Publico" <noreply@beta.softwarepublico.gov.br>' 10 + external_hostname: softwarepublico.dev
  11 + site_url: https://softwarepublico.dev
  12 + colab_from_address: '"Portal do Software Publico" <noreply@softwarepublico.dev>'
  13 + server_email: '"Portal do Software Publico" <noreply@softwarepublico.dev>'
14 email_subject_prefix: '[spb]' 14 email_subject_prefix: '[spb]'
15 peers: &PEERS 15 peers: &PEERS
16 integration: 10.10.10.2 16 integration: 10.10.10.2