main.yml (870B)
1 --- 2 httpd_ext_addr: "vio0" 3 httpd_prefork: 2 4 5 http_servers: 6 - server_name: "default" 7 #no_logging: true 8 root: "/htdocs/null" 9 httpd_options: [] 10 locations: 11 - name: "/.well-known/acme-challenge/*" 12 options: 13 - "root \"/acme\"" 14 - "request strip 2" 15 - name: "/*" 16 options: 17 - "block return 301 \"https://$HTTP_HOST$REQUEST_URI\"" 18 19 https_servers: [] 20 # http_servers: 21 # - server_name: "default" 22 # server_aliases: 23 # - alias1 24 # - alias2 25 # server_owner: "paco" 26 # #no_logging: true 27 # root: "/htdocs/null" 28 # locations: 29 # - name: "/.well-known/acme-challenge/*" 30 # options: 31 # - "root \"/acme\"" 32 # - "request strip 2" 33 # - name: "/*" 34 # options: 35 # - "block return 301 \"https://$HTTP_HOST$REQUEST_URI\"" 36 37 https_restart_services: 38 - httpd