**文書の過去の版を表示しています。**
本番環境構築
ApacheからExpressに接続
httpsの設定ファイルを編集
/etc/httpd/conf.d/proxy.conf に以下の2行を追加
ProxyPass /metasearch/ http://localhost:3000/
ProxyPassReverse /metasearch/ http://localhost:3000/
3000はExpressが使用するデフォルトのポート番号。
httpdを再起動し、設定を反映。
$ sudo systemctl restart httpd
Expressサーバの起動
expressの新しいプロジェクトを作成
$ express exp-app
$ cd exp-app
$ npm install