Deploy akkounts-api behind an nginx reverse proxy with a TLS cert #109
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/18-akkounts-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The encrypted data bag does not contain the actual secrets for now
I have pointed api.accounts.kosmos.org to barnard
Closes #18
Closes #20
To replace the data bag secrets:
@ -104,1 +104,3 @@"recipe[sockethub::proxy]""recipe[sockethub::proxy]","recipe[kosmos-akkounts]","recipe[kosmos-akkounts::nginx]"Is there a reason for the nginx site not being configured with the default recipe?
@ -0,0 +59,4 @@npm_install douser deploy_userproduction false # typescript is a dev dependencyTypeScript is a dev dependency, because the app is supposed to be compiled in development, not production.
@ -0,0 +62,4 @@production false # typescript is a dev dependencyendexecute "compile app" doWhy is it compiling the app here? We talked about it, and I explained that it should be done in
npm version, not during deployment. I don't understand what happened since then. Anything wrong with compiling a release and then deploying the compiled release?App is now compiled to release dir: https://github.com/67P/akkounts-api/pull/6
All working in production now! You can try it out yourself, with Mastodon on https://accounts.kosmos.org/