{"action":"created","issue":{"url":"https://api.github.com/repos/puphpet/puphpet/issues/1869","labels_url":"https://api.github.com/repos/puphpet/puphpet/issues/1869/labels{/name}","comments_url":"https://api.github.com/repos/puphpet/puphpet/issues/1869/comments","events_url":"https://api.github.com/repos/puphpet/puphpet/issues/1869/events","html_url":"https://github.com/puphpet/puphpet/issues/1869","id":104108606,"number":1869,"title":"misconfigured value for nginx internal location option","user":{"login":"cyluss","id":318915,"avatar_url":"https://avatars.githubusercontent.com/u/318915?v=3","gravatar_id":"","url":"https://api.github.com/users/cyluss","html_url":"https://github.com/cyluss","followers_url":"https://api.github.com/users/cyluss/followers","following_url":"https://api.github.com/users/cyluss/following{/other_user}","gists_url":"https://api.github.com/users/cyluss/gists{/gist_id}","starred_url":"https://api.github.com/users/cyluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyluss/subscriptions","organizations_url":"https://api.github.com/users/cyluss/orgs","repos_url":"https://api.github.com/users/cyluss/repos","events_url":"https://api.github.com/users/cyluss/events{/privacy}","received_events_url":"https://api.github.com/users/cyluss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-31T18:37:48Z","updated_at":"2015-08-31T18:50:13Z","closed_at":null,"body":"There is misconfigured value for nginx internal location option.\r\nIn nginx section of `config.yaml`, nginx.vhosts.{id}.locations.{id}.internals should be either `true` or `false`, not `true` or `off`. This makes `vagrant up` to fail.\r\n\r\npart of `config.yaml`\r\n```\r\nnginx:\r\n    install: '1'\r\n    settings:\r\n        default_vhost: 1\r\n        proxy_buffer_size: 128k\r\n        proxy_buffers: '4 256k'\r\n    upstreams: {  }\r\n    vhosts:\r\n        nxv_rpgwwnhfw7d4:\r\n            server_name: awesome.dev\r\n            server_aliases:\r\n                - www.awesome.dev\r\n            www_root: /var/www/awesome\r\n            listen_port: '80'\r\n            index_files:\r\n                - index.html\r\n                - index.htm\r\n                - index.php\r\n            client_max_body_size: 1m\r\n            ssl: '0'\r\n            ssl_cert: ''\r\n            ssl_key: ''\r\n            ssl_port: '443'\r\n            ssl_protocols: ''\r\n            ssl_ciphers: ''\r\n            rewrite_to_https: '1'\r\n            spdy: '1'\r\n            locations:\r\n                nxvl_y4a4vleov70t:\r\n                    location: /\r\n                    autoindex: 'off'\r\n                    internal: 'true'\r\n                    try_files:\r\n                        - $uri\r\n                        - $uri/\r\n                        - /index.php$is_args$args\r\n                    fastcgi: ''\r\n                    fastcgi_index: ''\r\n                    fastcgi_split_path: ''\r\n                nxvl_kvb1mymippkw:\r\n                    location: '~ \\.php$'\r\n                    autoindex: 'off'\r\n                    internal: 'off'\r\n                    try_files:\r\n                        - $uri\r\n                        - $uri/\r\n                        - /index.php$is_args$args\r\n                    fastcgi: '127.0.0.1:9000'\r\n                    fastcgi_index: index.php\r\n                    fastcgi_split_path: '^(.+\\.php)(/.*)$'\r\n                    fast_cgi_params_extra:\r\n                        - 'SCRIPT_FILENAME $request_filename'\r\n                        - 'APP_ENV dev'\r\n    proxies: {  }\r\n```\r\n\r\nerror trace\r\n```\r\n==> default: Running provisioner: puppet...                                                                                                                 \r\n==> default: Running Puppet with site.pp...                                                                                                                 \r\n==> default: stdin: is not a tty                                                                                                                            \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/apt/lib/facter/apt_updates.rb                              \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/apt/lib/facter/apt_update_last_success.rb                  \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/composer/lib/facter/composer_home.rb                       \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/concat/lib/facter/concat_basedir.rb                        \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/firewall/lib/facter/ip6tables_version.rb                   \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/firewall/lib/facter/iptables_persistent_version.rb         \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/firewall/lib/facter/iptables_version.rb                    \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/git/lib/facter/git_exec_path.rb                            \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/git/lib/facter/git_version.rb                              \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/java/lib/facter/java_major_version.rb                      \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/java/lib/facter/java_patch_level.rb                        \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/java/lib/facter/java_version.rb                            \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/php/lib/facter/php_fact_extension_dir.rb                   \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/php/lib/facter/php_fact_version.rb                         \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/puppi/lib/facter/last_run.rb                               \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/puppi/lib/facter/puppi_projects.rb                         \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/puppi/lib/facter/windows_common_appdata.rb                 \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/rvm/lib/facter/rvm_installed.rb                            \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/rvm/lib/facter/rvm_version.rb                              \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/staging/lib/facter/staging_http_get.rb                     \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/staging/lib/facter/staging_windir.rb                       \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/stdlib/lib/facter/facter_dot_d.rb                          \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/stdlib/lib/facter/pe_version.rb                            \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/stdlib/lib/facter/puppet_vardir.rb                         \r\n==> default: Info: Loading facts in /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/stdlib/lib/facter/root_home.rb                             \r\n==> default: Error: \"off\" is not a boolean.  It looks to be a String at /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/nginx/manifests/resourc\r\ne/location.pp:198 on node local.puphpet                                                                                                                     \r\n==> default: Error: \"off\" is not a boolean.  It looks to be a String at /tmp/vagrant-puppet/modules-46226714e23c0369093911d4d5ccdbe0/nginx/manifests/resourc\r\ne/location.pp:198 on node local.puphpet                                                                                                                     \r\nThe SSH command responded with a non-zero exit status. Vagrant                                                                                              \r\nassumes that this means the command failed. The output for this command                                                                                     \r\nshould be in the log above. Please read the output to determine what                                                                                        \r\nwent wrong.                                                                                                                                                                                                                                                                                             ```"},"comment":{"url":"https://api.github.com/repos/puphpet/puphpet/issues/comments/136463369","html_url":"https://github.com/puphpet/puphpet/issues/1869#issuecomment-136463369","issue_url":"https://api.github.com/repos/puphpet/puphpet/issues/1869","id":136463369,"user":{"login":"cyluss","id":318915,"avatar_url":"https://avatars.githubusercontent.com/u/318915?v=3","gravatar_id":"","url":"https://api.github.com/users/cyluss","html_url":"https://github.com/cyluss","followers_url":"https://api.github.com/users/cyluss/followers","following_url":"https://api.github.com/users/cyluss/following{/other_user}","gists_url":"https://api.github.com/users/cyluss/gists{/gist_id}","starred_url":"https://api.github.com/users/cyluss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyluss/subscriptions","organizations_url":"https://api.github.com/users/cyluss/orgs","repos_url":"https://api.github.com/users/cyluss/repos","events_url":"https://api.github.com/users/cyluss/events{/privacy}","received_events_url":"https://api.github.com/users/cyluss/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T18:50:13Z","updated_at":"2015-08-31T18:50:13Z","body":"The following line seems to wrong. [dab20e70/src/Puphpet/MainBundle/Resources/views/nginx/sections/location.html.twig#L52](https://github.com/puphpet/puphpet/blob/dab20e70e592b4894612259f31ad125da2bb5aba/src/Puphpet/MainBundle/Resources/views/nginx/sections/location.html.twig#L52)"}}