diff options
author | Stephen Wong <stephen.kf.wong@gmail.com> | 2018-10-21 06:22:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-21 06:22:45 +0000 |
commit | 7f7c1519ccf71d26770bfa8ad97c333d78323075 (patch) | |
tree | a1f99e5d167f0cb0ed029c142b55eaf33f6c34d5 /clover/cloverctl/src/cloverctl/yaml/server.yaml | |
parent | b713d2f3fee2d8164bf16c7249d75c3da827005b (diff) | |
parent | b850f07e5abce7545243eeb674495b6960d6d105 (diff) |
Merge "Add nginx services control functionality"
Diffstat (limited to 'clover/cloverctl/src/cloverctl/yaml/server.yaml')
-rw-r--r-- | clover/cloverctl/src/cloverctl/yaml/server.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/clover/cloverctl/src/cloverctl/yaml/server.yaml b/clover/cloverctl/src/cloverctl/yaml/server.yaml new file mode 100644 index 0000000..b44779a --- /dev/null +++ b/clover/cloverctl/src/cloverctl/yaml/server.yaml @@ -0,0 +1,16 @@ +server_port: "9180" +server_name: "clover-server1" +site_root: "/var/www/html" +site_index: index.html +upload_path_config: "/upload" +upload_path_test: "/upload_test" +locations: + - uri_match: "/clover/testurl" + directive: "try_files $uri @default2" + path: "/clover/testurl" + - uri_match: "/test" + directive: "try_files $uri @default1" + path: "/test" +files: + - src_file: "/var/www/html/upload/0000000001" + dest_file: "var/www/html/clover/testurl/file1.png" |