Merge branch 'master' of 192.168.0.108:MySpace/Gitea

This commit is contained in:
Johan 2022-02-17 20:06:22 +01:00
commit 53519f7546

View File

@ -1,6 +1,6 @@
# Gitea
## Usage
## Användning
### Generera SSH-nycklar
@ -8,7 +8,7 @@
## Installation
### Confit cheat sheet
### Config cheat sheet
https://docs.gitea.io/en-us/config-cheat-sheet/#server-server
@ -19,7 +19,7 @@ START_SSH_SERVER = true
SSH_LISTEN_PORT = %(SSH_PORT)s
</code></pre>
### Redirect av HTTPS via Apache
### HTTPS proxy via Apache
<pre><code>[server]
ROOT_URL = https://git.myspace.nu/
@ -44,8 +44,10 @@ ENABLE_OPENID_SIGNUP = false
### Kör som Windows service
<pre><code>[server]
# echo %COMPUTERNAME% => USER-PC => RUN_USER = USER-PC$
RUN_USER = COMPUTERNAME$
<strike># echo %COMPUTERNAME% => USER-PC => RUN_USER = USER-PC$</strike>
<strike>RUN_USER = COMPUTERNAME$</strike>
# Använd git för att SSH-länkar till repositoryt ska presenteras rätt
RUN_USER = git
</code></pre>
<code>sc.exe create gitea start= auto binPath= "\"E:\Gitea\gitea.exe\" web --config \"E:\Gitea\custom\conf\app.ini\""</code>