Website development progress, deployment errors, proxy issues.

Today, I will try to put in more hours, but I'm not sure if chores will allow it.

I added the tutorials page and a bunch of placeholders for all the articles I've written. I have yet to turn them into actual interactive tutorials, but it's nice to visualize what the website might look like in the future.

I now need to ensure that the correct user is used when starting a container.

Then, I should try and deploy it to production.

I got excited and started researching how I'm going to scale this once more people start using it. I was exploring boot.dev and got some ideas of what to implement in the future. I'm really liking the idea of running AWS Lambdas for these, but I realize I'm nowhere near that stage yet. I guess I should stop daydreaming and get back to work.

I added starting containers when a tutorial is opened, and using the user from auth. I deployed to prod, but I'm getting errors.

Seems like I need to fix this error I've been ignoring for some time. It's related to supabase and the way I access cookies:

cookies was called outside a request scope

I fixed that error, but another error is now appearing in production that doesn't appear when run locally.

The reason is that I'm not accepting https requests on my production deployment. I need to configure SSL there, yet again.

I've set up the nginx on the vm, so now I have an nginx routing to nginx routing to docker containers.

I now need to change the certificate to use a wildcard domain.

I've migrated to using the be.codeinteractive.dev domain and set everything up, but now I seem to have an issue with my proxy. This request is failing:

"POST /start HTTP/1.1", host: "rokokovac98.be.codeinteractive.dev"

I'm trying to reach the orchestrator with /start, but its trying to route to the user container. My config must be wrong, but how has it worked locally? Very puzzling

I'm too tired to continue, so I'll have to call it a day. There are some issues possibly related to the endpoint im calling from frontend, or my proxy config.