Created
January 27, 2014 06:08
-
-
Save zbal/8643893 to your computer and use it in GitHub Desktop.
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
--- | |
some: | |
thing: is | |
awesome: | |
- that | |
- is | |
- an | |
- array | |
Author
zbal
commented
Jan 27, 2014
some.csv
file:
thing=is
awesome=that
awesome=is
awesome=an
awesome=array
nginx.yml
---
nginx_domains:
- domain: example.com
bind: 0.0.0.0
port: 80
aliases: www.example.com www2.example.com
- domain: example3.com
bind: 0.0.0.0
port: 80
aliases: www.example3.com www2.example3.com
nginx.json
{
"nginx_domains": [
{
"domain": "example.com",
"aliases": "www.eample.com www2.example.com",
"bind": "0.0.0.0",
"port": 80
},
{
"domain": "example3.com",
"aliases": "www.example3.com www2.example3.com",
"bind": "0.0.0.0",
"port": 80
}
]
}
nginx.csv
nginx_domains[0][domain]="example.com"
nginx_domains[0][bind]="0.0.0.0"
nginx_domains[0][port]="80"
nginx_domains[0][aliases]="www.example.com www2.example.com"
nginx_domains[1][domain]="example3.com"
nginx_domains[1][bind]="0.0.0.0"
nginx_domains[1][port]="80"
nginx_domains[1][aliases]="www.example3.com www2.example3.com"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment