- 一部の国内 SIM で APN 設定ができない問題を修正するパッチを適用するスクリプトのpatch-apn.shのWindows版
- zip/unzipに7zipコマンドラインバージョンが必要
- patchコマンドはやめてpause中に手動で修正
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
resolver 8.8.8.8 valid=5s; | |
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
root html; | |
index index.html index.htm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# diff -wu HostConfigNormalizer.php HostConfigNormalizer.php.ORG | |
--- HostConfigNormalizer.php 2016-07-14 11:40:59.972709126 +0000 | |
+++ HostConfigNormalizer.php.ORG 2016-07-14 11:17:23.542441938 +0000 | |
@@ -179,7 +179,7 @@ | |
} | |
if (property_exists($data, 'PortBindings')) { | |
$value_15 = $data->{'PortBindings'}; | |
- if (is_array($data->{'PortBindings'})) { | |
+ if (is_object($data->{'PortBindings'})) { | |
$values_8 = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS); |