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 3 years have passed since last update.

会社proxy経由でCloud9の使用

Last updated at Posted at 2020-09-01

課題:

会社proxyは443と80ポートしかアクセスできない。
cloud9は普通8080,8081,8082ポートでアプリケーションをアクセス。

解決:

nginxをインストールし、8080ポートのアクセスは80ポートにする。

追加した設定

  server {
    listen 8080;
    location / {
      //やりたいことを実施
    }
  }

下記はインストール時のデフォルト設定(削除しない)

  server {
    listen 80  

上記の設定でhttps://cloud9url/ で8080ポートの内容をアクセスできる。

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?