Skip to content

Commit

Permalink
gateway: add router to resend email
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardojoao committed May 18, 2021
1 parent 62be114 commit 5ff1699
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gateway/shellhub.conf
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@ server {
proxy_pass http://$upstream;
}
{{ end -}}

{{ if bool (env.Getenv "SHELLHUB_CLOUD") -}}
location /api/resend_email {
set $upstream cloud-api:8080;
proxy_pass http://$upstream;
}
{{ end -}}

{{ if bool (env.Getenv "SHELLHUB_ENTERPRISE") -}}
location ~* /api/sessions/(.*)/play {
Expand Down

0 comments on commit 5ff1699

Please sign in to comment.