-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ps Bot, api.cplpaiopsbot.etica.ai
- Loading branch information
Showing
4 changed files
with
56 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 0 additions & 38 deletions
38
logbook/aguia-pescadora-bravo/etc/nginx/fititnt.apb.etica.ai.conf
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
logbook/aguia-pescadora-bravo/etc/nginx/sites-available/api.cplpaiopsbot.etica.ai.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# FILE: /etc/nginx/sites-available/api.cplpaiopsbot.etica.ai.conf | ||
# SERVER: aguia-pescadora-bravo.etica.ai | ||
|
||
server { | ||
|
||
listen 80; | ||
listen [::]:80; | ||
|
||
server_name api.cplpaiopsbot.etica.ai; | ||
|
||
location = /favicon.ico { access_log off; log_not_found off; } | ||
location = /robots.txt { access_log off; log_not_found off; } | ||
|
||
# ESTRATEGIA DE PROXY: via porta (menos eficiente do que via Socket, | ||
# porém mais fácil suporte a ela) | ||
location / { | ||
proxy_ignore_client_abort on; | ||
proxy_pass http://aguia-pescadora-charlie.etica.ai:80; | ||
} | ||
|
||
listen [::]:443 ssl; # managed by Certbot | ||
listen 443 ssl; # managed by Certbot | ||
ssl_certificate /etc/letsencrypt/live/api.cplpaiopsbot.etica.ai/fullchain.pem; # managed by Certbot | ||
ssl_certificate_key /etc/letsencrypt/live/api.cplpaiopsbot.etica.ai/privkey.pem; # managed by Certbot | ||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot | ||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -205,6 +205,14 @@ tsuru user-create [email protected] | |
tsuru user-create [email protected] | ||
tsuru user-create [email protected] | ||
|
||
tsuru user-create [email protected] # Usuario (idealmente) temporario | ||
# com permissão total. Demais | ||
# administradores idealmente | ||
# devem usar seu próprio usuario | ||
|
||
# Usuários não administradores | ||
tsuru user-create {email de github.com/rodriguesJeff} | ||
|
||
# Lista usuarios criados | ||
tsuru user-list | ||
|
||
|
@@ -220,6 +228,7 @@ tsuru permission-list | |
tsuru role-assign AllowAll [email protected] | ||
tsuru role-assign AllowAll [email protected] | ||
tsuru role-assign AllowAll [email protected] | ||
tsuru role-assign AllowAll [email protected] | ||
|
||
# Lista pools | ||
tsuru pool-list | ||
|