| 198 | return self |
| 199 | |
| 200 | def add_vhost_test1(self, proxy_self=False, h2proxy_self=False): |
| 201 | domain = f"test1.{self.env.http_tld}" |
| 202 | self.start_vhost(domains=[domain, f"www1.{self.env.http_tld}"], |
| 203 | port=self.env.http_port, doc_root="htdocs/test1") |
| 204 | self.end_vhost() |
| 205 | self.start_vhost(domains=[domain, f"www1.{self.env.http_tld}"], |
| 206 | port=self.env.https_port, doc_root="htdocs/test1") |
| 207 | self.add([ |
| 208 | "<Location /006>", |
| 209 | " Options +Indexes", |
| 210 | "</Location>", |
| 211 | ]) |
| 212 | self.add_proxies("test1", proxy_self, h2proxy_self) |
| 213 | self.end_vhost() |
| 214 | return self |
| 215 | |
| 216 | def add_vhost_test2(self): |
| 217 | domain = f"test2.{self.env.http_tld}" |