diff --git a/README.md b/README.md index 0434e50..9b6918a 100644 --- a/README.md +++ b/README.md @@ -24,26 +24,4 @@ All subsequent domains I want to point to a home server service will have a CNAM ``` git.gerardgascon.com. IN CNAME vps.gerardgascon.com. -``` - -## Steps to add a new service - -1. Add CNAME record to DNS -2. Modify nginx.conf to add support for the new service: - ```nginx configuration - server { - listen 443 ssl; - server_name <>; - - ssl_certificate /etc/letsencrypt/live/<>/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/<>/privkey.pem; - - location / { - proxy_pass http://<>:<>/; - } - } - ``` -3. Request SSL certificate and deploy: - ```shell - docker compose stop nginx && certbot certonly --standalone -d <> --expand && docker compose up -d - ``` \ No newline at end of file +``` \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index f5de38e..86f95c8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -37,7 +37,6 @@ http { server { listen 443 ssl; server_name git.gerardgascon.com; - client_max_body_size 0; ssl_certificate /etc/letsencrypt/live/git.gerardgascon.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/git.gerardgascon.com/privkey.pem; @@ -50,7 +49,6 @@ http { server { listen 443 ssl; server_name obsidian.gerardgascon.com; - client_max_body_size 128M; ssl_certificate /etc/letsencrypt/live/obsidian.gerardgascon.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/obsidian.gerardgascon.com/privkey.pem;