AKB428は荒野を目指す

秋葉原で働くエンジニアなブログ

OpenStack で コンテナをの内容を静的ページとして公開する

用はAmazonS3のこういうことがOpenStackでもできるらしい

Amazon S3 での静的ウェブサイトのホスティング - Amazon Simple Storage Service

 

 

Openstackのマニュアルの以下の文書

Create static website - OpenStack Object Storage API v1 Reference - API v1

Create static website

To discover whether your Object Storage system supports this feature, see the section called “Discoverability”. Alternatively, check with your service provider.

You can use your Object Storage account to create a static website. This mode is normally only active for anonymous requests, which provide no authentication token. To use it with authenticated requests, set the header X-Web-Modeto TRUE on the request. To determine whether the static website feature is enabled, contact your service provider.

For example:

 

 

ゆとり世代的に翻訳すると

 

「HTTPヘッダーにX-Web-Modeto TRUEってつけると静的WEBとして公開できるぜベイビー」・・・と書いてある。

 

すげーかんたんだわ・・・