0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ようやくHackMDをインストールできた

Last updated at Posted at 2019-11-13

cenos7でdocker+nginxというのはよくみかけるんだけど
cnetos6.9+apacheリバースプロキシってのが全然資料がなくて
ネットで情報を探しまくりようやくできた。

+node v11.15.0
+npm 6.7.0

下記を参照した
https://qiita.com/KosukeJin/items/bb0daaed9f058439e225

これが一番役に立った
https://gist.github.com/Buravo46/60e1ba6a4e629f32b846e1b1aa6ef3b8

下記で簡単にssl化まで終わった

ProxyPreserveHost On
ProxyRequests off
RewriteEngine On
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://127.0.0.1:port/$1 [P,L]
ProxyPass / http://127.0.0.1:port/
ProxyPassReverse / http://127.0.0.1:port

しかし、何故か安定稼働していたgrowiが壊れた
普通にmongodbが落ちてただけだった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?