ユーザ用ツール

サイト用ツール


gogs

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
gogs [2020/04/12 12:36] – [install] nabezogogs [2020/04/12 12:37] (現在) – [install] nabezo
行 21: 行 21:
 == apache proxy 設定 == == apache proxy 設定 ==
 一旦localhost:3000を/(root)に設定する 一旦localhost:3000を/(root)に設定する
-  #sites-enabled/000-default.conf +  #sites-enabled/git.conf 
-  ProxyPass         /  http://localhost:3000/ +  <location /> 
-  ProxyPassReverse  /  http://localhost:3000/+    ProxyPass         http://localhost:3000/ 
 +    ProxyPassReverse  http://localhost:3000/ 
 +  </location>
 ブラウザでmydom.com/に接続して/installページで設定しインストールを行う。 ブラウザでmydom.com/に接続して/installページで設定しインストールを行う。
 その際urlをmydom.com/git/とする。その後再度proxy設定を行う。 その際urlをmydom.com/git/とする。その後再度proxy設定を行う。
   #sites-enabled/git.conf   #sites-enabled/git.conf
   <location /git/>   <location /git/>
-  ProxyPass         http://localhost:3000/ +    ProxyPass         http://localhost:3000/ 
-  ProxyPassReverse  http://localhost:3000/+    ProxyPassReverse  http://localhost:3000/
   </location>   </location>
  
gogs.txt · 最終更新: 2020/04/12 12:37 by nabezo