server {
listen 443 ssl;
server_name www.example.com;
ssl_certificate www.example.com.crt;
ssl_certificate_key www.example.com.key;
location / {
proxy_pass https://backend;
proxy_set_header Host $host;
}
}
each key, val in db_result
.docs-wrap!= val
each prop in key
.docs!= prop.docType
var i = 0;
for (let key in result){
console.log(key);
for (let prop in result[key]){
console.log(result[key][i].date);
console.log(result[key][i].docType);
i++;
}
i = 0;
}
Generally playbooks will stop executing any more steps on a host that has a task fail. Sometimes, though, you want to continue on. To do so, write a task that looks like this:
- name: this will not be counted as a failure
command: /bin/false
ignore_errors: yes
---
- name: Create cron task
hosts: testhost0
tasks:
- name: Add tasks to testhost0
cron:
name: "download tasks"
minute: "0"
hour: "1"
job: "/home/userdir/./download.sh"
ignore_errors: yes
- name: Create cron task
hosts: testhost1
tasks:
- name: Add tasks to testhost1
cron:
name: "download tasks"
minute: "0"
hour: "2"
job: "/home/userdir/./download.sh"
ignore_errors: yes
Если вот так, то ничего не меняется
При curl https://localhost:443/ping должен по идее вернуться pong
Но в error.log ошибка
При запросе на localhost:443/ping