Relative Content

Tag Archive for Linux

Route a subdomain thru nginx to docker

Set proxy for a docker service thru subdomain. Subdomain: your.domain.com Docker Port: 9999 Edit docker-compose for an app you would like to proxy to. Add 127.0.0.1:9999, mapping it to a port in docker (here it’s 3000)

Restart

Create nginx config, replacing 9999 and your.domain.com to docker port and subdomain of your choice.

[…]

Windrose dedicated server on Linux using Docker

Clone windrose-dedicated-server-docker

Setup server It will ask you several questions, after which .env  file will be created with your configuration.

Run server If you have not chosen it in the previous step.

Status and logs

 

CertBot

Create Cert sudo certbot –nginx -d my.domain.com Renew with dry run sudo certbot renew –dry-run