From 79404c875dbf20ba783c72b31111c6e2228d28a2 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 7 Aug 2022 14:38:49 -0400 Subject: begin rehighlighting of custom info in templates --- content/gitea.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content/gitea.md') diff --git a/content/gitea.md b/content/gitea.md index e09b6c0..8fbf3e8 100644 --- a/content/gitea.md +++ b/content/gitea.md @@ -64,9 +64,9 @@ subdomain to Gitea running on port 3000: server { listen 443 ssl; listen [::]:443 ssl; - ssl_certificate /etc/ssl/nginx/git.example.org.crt; - ssl_certificate_key /etc/ssl/nginx/git.example.org.key; - server_name git.example.org; + ssl_certificate /etc/ssl/nginx/{{}}git.example.org{{}}.crt; + ssl_certificate_key /etc/ssl/nginx/{{}}git.example.org{{}}.key; + server_name {{}}git.example.org{{}}; location / { proxy_pass http://localhost:3000/; # The / is important! proxy_redirect off; @@ -129,7 +129,7 @@ DEFAULT_PUSH_CREATE_PRIVATE = true If you now add a remote to a repository like this ```sh -git remote add origin 'ssh://gitea@git.example.org/username/coolproject.git' +git remote add origin 'ssh://gitea@{{}}git.example.org{{}}/username/coolproject.git' ``` and push, Gitea will automatically create a private `coolproject` -- cgit v1.2.3