ユーザ用ツール

サイト用ツール


gogs

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
gogs [2020/04/12 03:15] 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/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>
  
 ===== 改造 ===== ===== 改造 =====
gogs.1586628932.txt.gz · 最終更新: 2020/04/12 03:15 by nabezo