Skip to content

Commit 11fbaf7

Browse files
committed
[Discourse.org] Fix subdomain cdn and simplify ruleset
1 parent a9457ef commit 11fbaf7

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed
Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<!--
22
CDN buckets:
33
4-
- try-discourse.global.ssl.fastly.net
54
- meta-discourse.r.worldssl.net
65
76
@@ -14,31 +13,20 @@
1413
¹ Redirects to http, valid cert
1514
² Refused
1615
17-
18-
Problematic subdomains:
19-
20-
- cdn *
21-
22-
* Refused
23-
24-
2516
Fully covered subdomains:
2617
27-
- cdn (→ try-discourse.global.ssl.fastly.net)
18+
- cdn
2819
- meta
2920
- payments
3021
3122
-->
3223
<ruleset name="Discourse.org (partial)">
3324

34-
<target host="*.discourse.org" />
35-
<!--exclusion pattern="^http://(blog|try|www)\.discourse\.org/" /-->
36-
37-
38-
<rule from="^http://(meta|payments)\.discourse\.org/"
39-
to="https://$1.discourse.org/" />
25+
<target host="cdn.discourse.org" />
26+
<target host="meta.discourse.org" />
27+
<target host="payments.discourse.org" />
4028

41-
<rule from="^http://cdn\.discourse\.org/"
42-
to="https://try-discourse.global.ssl.fastly.net/" />
29+
<rule from="^http:"
30+
to="https:" />
4331

4432
</ruleset>

0 commit comments

Comments
 (0)