ユーザ用ツール

サイト用ツール


gogs

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
gogs [2020/04/12 02:41] – [ログインしないとユーザを表示しない] nabezogogs [2020/04/12 12:36] – [install] nabezo
行 26: 行 26:
 ブラウザでmydom.com/に接続して/installページで設定しインストールを行う。 ブラウザでmydom.com/に接続して/installページで設定しインストールを行う。
 その際urlをmydom.com/git/とする。その後再度proxy設定を行う。 その際urlをmydom.com/git/とする。その後再度proxy設定を行う。
-  #sites-enabled/000-default.conf +  #sites-enabled/git.conf 
-  ProxyPass         /git/  http://localhost:3000/ +  <location /git/
-  ProxyPassReverse  /git/  http://localhost:3000/+  ProxyPass         http://localhost:3000/ 
 +  ProxyPassReverse  http://localhost:3000/ 
 +  </location>
  
 ===== 改造 ===== ===== 改造 =====
行 55: 行 57:
   - sudo systemctl start gogs   - sudo systemctl start gogs
  
 +===== backup =====
 +backup_gogs.sh
 +  cd /my/gogs
 +  tar -zcvf ./gogsrepos.tgz ./repos
 +
 +  
 ===== 使い方 ===== ===== 使い方 =====
   - プロジェクトの作成=リポジトリの作成   - プロジェクトの作成=リポジトリの作成
gogs.txt · 最終更新: 2020/04/12 12:37 by nabezo