Commit 9480da0c0d3b52f079a3bea92f7506b8ed861580
1 parent
1663956b
Exists in
cdtc_configuration
Change domain for cdtc environment
Showing
2 changed files
with
15 additions
and
12 deletions
Show diff stats
config/beta/config.yaml
| 1 | 1 | admins: |
| 2 | 2 | - ["Paulo Meirelles", "paulo@softwarelivre.org"] |
| 3 | -external_hostname: beta.softwarepublico.gov.br | |
| 3 | +external_hostname: spb.cdtc.unb.br | |
| 4 | 4 | external_ip: 164.41.9.49 |
| 5 | -site_url: https://beta.softwarepublico.gov.br | |
| 5 | +site_url: https://spb.cdtc.unb.br | |
| 6 | 6 | colab_from_address: '"Portal do Software Publico" <noreply@beta.softwarepublico.gov.br>' |
| 7 | 7 | server_email: '"Portal do Software Publico" <noreply@beta.softwarepublico.gov.br>' |
| 8 | 8 | email_subject_prefix: '[spb]' |
| 9 | -lists_hostname: listas.softwarepublico.gov.br | |
| 9 | +lists_hostname: listas.spb.cdtc.unb.br | |
| 10 | 10 | lists_admin: paulo@softwarelivre.org |
| 11 | -relay_hostname: relay.softwarepublico.gov.br | |
| 11 | +relay_hostname: relay.spb.cdtc.unb.br | |
| 12 | 12 | relay_ip: 164.41.9.48 |
| 13 | 13 | alt_ssh_port: 55555 |
| 14 | -from_address: noreply@softwarepublico.gov.br | |
| 14 | +from_address: noreply@spb.cdtc.unb.br | ... | ... |
config/beta/ssh_config
| ... | ... | @@ -2,27 +2,30 @@ Host * |
| 2 | 2 | ForwardAgent yes |
| 3 | 3 | |
| 4 | 4 | Host reverseproxy |
| 5 | + User spb | |
| 5 | 6 | Hostname 10.10.40.49 |
| 6 | 7 | Port 55555 |
| 7 | - ProxyCommand ssh 164.41.9.49 -p 22 nc %h %p | |
| 8 | + ProxyCommand ssh spb@164.41.9.49 -p 22 nc %h 55555 | |
| 8 | 9 | |
| 9 | 10 | Host reverseproxy.unconfigured |
| 11 | + User spb | |
| 10 | 12 | Hostname 164.41.9.49 |
| 11 | 13 | |
| 12 | 14 | Host integration |
| 15 | + User spb | |
| 13 | 16 | Hostname 164.41.9.49 |
| 14 | 17 | |
| 15 | 18 | Host database |
| 19 | + User spb | |
| 16 | 20 | Hostname 10.10.40.47 |
| 17 | - # connect via reverseproxy host | |
| 18 | - ProxyCommand ssh 164.41.9.49 -p %p nc %h %p | |
| 21 | + ProxyCommand ssh spb@164.41.9.49 -p %p nc %h 22 | |
| 19 | 22 | |
| 20 | 23 | Host social |
| 24 | + User spb | |
| 21 | 25 | Hostname 10.10.40.46 |
| 22 | - # connect via reverseproxy host | |
| 23 | - ProxyCommand ssh 164.41.9.49 -p %p nc %h %p | |
| 26 | + ProxyCommand ssh spb@164.41.9.49 -p %p nc %h 22 | |
| 24 | 27 | |
| 25 | 28 | Host email |
| 29 | + User spb | |
| 26 | 30 | Hostname 10.10.40.48 |
| 27 | - # connect via reverseproxy host | |
| 28 | - ProxyCommand ssh 164.41.9.49 -p %p nc %h %p | |
| 31 | + ProxyCommand ssh spb@164.41.9.49 -p %p nc %h 22 | ... | ... |