teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

ご指摘にあったconfを記載しました

2017/11/18 06:28

投稿

stay
stay

スコア24

title CHANGED
File without changes
body CHANGED
@@ -94,4 +94,41 @@
94
94
  networks:
95
95
  unimatrix_zero:
96
96
  external: true
97
+ ```
98
+
99
+ 追記 2017/11/18
100
+ 前述のdocker-compose.ymlファイルにあるwebのconfファイルを確認しました
101
+
102
+ ```
103
+ /etc/apache2/sites-enabled
104
+
105
+ <VirtualHost *:80>
106
+ # The ServerName directive sets the request scheme, hostname and port that
107
+ # the server uses to identify itself. This is used when creating
108
+ # redirection URLs. In the context of virtual hosts, the ServerName
109
+ # specifies what hostname must appear in the request's Host: header to
110
+ # match this virtual host. For the default virtual host (this file) this
111
+ # value is not decisive as it is used as a last resort host regardless.
112
+ # However, you must set it for any further virtual host explicitly.
113
+ #ServerName www.example.com
114
+
115
+ ServerAdmin webmaster@localhost
116
+ DocumentRoot /var/www/html
117
+
118
+ # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
119
+ # error, crit, alert, emerg.
120
+ # It is also possible to configure the loglevel for particular
121
+ # modules, e.g.
122
+ #LogLevel info ssl:warn
123
+
124
+ ErrorLog ${APACHE_LOG_DIR}/error.log
125
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
126
+
127
+ # For most configuration files from conf-available/, which are
128
+ # enabled or disabled at a global level, it is possible to
129
+ # include a line for only one particular virtual host. For example the
130
+ # following line enables the CGI configuration for this host only
131
+ # after it has been globally disabled with "a2disconf".
132
+ #Include conf-available/serve-cgi-bin.conf
133
+ </VirtualHost>
97
134
  ```

1

確認方法がわかりづらかったので修正

2017/11/18 06:28

投稿

stay
stay

スコア24

title CHANGED
File without changes
body CHANGED
@@ -1,8 +1,9 @@
1
1
  お名前VPSにて、Ubuntu 16.04をインストールしDocker-composeにてnginx-proxyを使ってマルチサイト構築を試してみたのですが
2
2
  httpsでのアクセスができず、ご教授いただけると助かります。
3
3
 
4
- 下記サイトで外部からポート開放しいるか確認しておりすが、http(80)は大丈夫が、https(443)は確認ができませんでした。
4
+ ブラウザにて確認しましたところ、http(80)は正常したが、https(443)は接続できませんでした。
5
+ そこで、ポート開放が正常に行われているか確認するために、外部サイトからポート確認しましたがそちらでもhttps(443)はアクセスできませんでした。
5
- https://www.cman.jp/network/support/port.html
6
+ 確認したサイト:https://www.cman.jp/network/support/port.html
6
7
 
7
8
  ファイアウォールの設定だと思い何度か試してみましたがうまくいきません。
8
9
  2−3度 リブートも試しました