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 5 server {
6 6 listen *:80;
7 7  
8   - server_name <%= node['config']['external_hostname'] %> softwarepublico.dev;
  8 + server_name <%= node['config']['external_hostname'] %>;
9 9  
10 10 access_log /var/log/nginx/colab.access.log;
11 11 error_log /var/log/nginx/colab.error.log;
... ...
cookbooks/colab/templates/settings.yaml.erb
... ... @@ -35,7 +35,6 @@ BROWSERID_AUDIENCES:
35 35 - <%= node['config']['site_url'].sub('https:', 'http:') %>
36 36  
37 37 ALLOWED_HOSTS:
38   - - softwarepublico.dev # for development/tests
39 38 - <%= node['config']['external_hostname'] %>
40 39  
41 40 ## Disable indexing
... ...
nodes.yaml
... ... @@ -7,10 +7,10 @@ vagrant@integration:
7 7 -
8 8 - Paulo Meirelles
9 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 14 email_subject_prefix: '[spb]'
15 15 peers: &PEERS
16 16 integration: 10.10.10.2
... ...