diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2022-08-07 14:38:49 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2022-08-07 14:38:49 -0400 |
| commit | 79404c875dbf20ba783c72b31111c6e2228d28a2 (patch) | |
| tree | 1a80d0322bf9f81cf26da2204d95c98db854d93b /content/gitea.md | |
| parent | ef1b2105e344e201e3f92ebece9d28efd58dbcac (diff) | |
begin rehighlighting of custom info in templates
Diffstat (limited to 'content/gitea.md')
| -rw-r--r-- | content/gitea.md | 8 |
1 files changed, 4 insertions, 4 deletions
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/{{<hl>}}git.example.org{{</hl>}}.crt; + ssl_certificate_key /etc/ssl/nginx/{{<hl>}}git.example.org{{</hl>}}.key; + server_name {{<hl>}}git.example.org{{</hl>}}; 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@{{<hl>}}git.example.org{{</hl>}}/username/coolproject.git' ``` and push, Gitea will automatically create a private `coolproject` |
