0
私はGoogleのアプリケーションエンジンで自分のサイトをホストしようとしています。私はapp.yamlファイルを作成しましたが、をデプロイすると、私は502の悪いゲートウェイを取得しています。502 Gateway NGINX on Static Site
以下は、自分のnginx.confファイルです。
events {}
http {
server {
server_name ishmaelsu.com;
access_log /error.log;
listen 8082;
return 301 https://$host$request_uri;
location/{
root IshmaelSunday;
index index.html;
}
}
}
これはのgcloudアプリのログを実行した後、私のログファイルですがnetstat -tulp | grep 8082
を実行した後
を読んで、これは私が得るものです。
ポートを8083に変更し、同じエラーが発生しました。 ちょうど私がアップロードした 'netstat'写真を見てください。 – Dos
netstat -a | grep -i 8082 – gurumelo
このコマンドをテストします。 nginx -t – gurumelo