2 root * /home/USERNAME/status.site.example/public
9 path_regexp jsonld \.jsonld$
13 path_regexp atom \.atom$
18 not path_regexp \.jsonld$
19 not path_regexp \.atom$
23 expression {re.matcher.suffix} == ""
28 header Link </about.jsonld>;rel=meta;type="application/ld+json"
29 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
33 rewrite * /.about.html
34 header Link </about.jsonld>;rel=meta;type="application/ld+json"
35 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
40 rewrite /about.jsonld /about/index.jsonld
43 rewrite * /.statuses.html
44 header Link </statuses.jsonld>;rel=meta;type="application/ld+json"
45 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
48 redir /statuses/ /statuses
50 rewrite /statuses.jsonld /statuses/index.jsonld
52 rewrite /statuses.atom /statuses/index.atom
55 path_regexp matcher ^/statuses/(?P<ym>\d{4}-\d{2})(?P<suffix>/[^/.]+)?(?:\..*|/)?$
56 not path_regexp ^/statuses/index[/.]?
62 rewrite * /.topic.html
63 header Link </statuses/{re.matcher.ym}.jsonld>;rel=meta;type="application/ld+json"
64 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
68 redir * /statuses/{re.matcher.ym}
72 rewrite * /statuses/{re.matcher.ym}/index.jsonld
76 rewrite * /statuses/{re.matcher.ym}/index.atom
82 rewrite * /.status.html
83 header Link </statuses/{re.matcher.ym}.jsonld>;rel=meta;type="application/ld+json"
84 header Link </statuses.atom>;rel=alternate;type="application/atom+xml"
88 redir * /statuses/{re.matcher.ym}{re.matcher.suffix}
94 rewrite * /.topics.html
95 header Link </topics.jsonld>;rel=meta;type="application/ld+json"
98 redir /topics/ /topics
100 rewrite /topics.jsonld /topics/index.jsonld
103 path_regexp matcher ^/topics/(?P<topic>[0-9A-Za-z_-]+)(?P<suffix>/[^/.]+)?(?:\..*|/)?$
104 not path_regexp ^/topics/index[/.]?
110 rewrite * /.topic.html
111 header Link </topics/{re.matcher.topic}.jsonld>;rel=meta;type="application/ld+json"
112 header Link </topics/{re.matcher.topic}.atom>;rel=alternate;type="application/atom+xml"
116 redir * /topics/{re.matcher.topic}
120 rewrite * /topics/{re.matcher.topic}/index.jsonld
124 rewrite * /topics/{re.matcher.topic}/index.atom
130 rewrite * /.status.html
131 header Link </topics/{re.matcher.topic}.jsonld>;rel=meta;type="application/ld+json"
132 header Link </topics/{re.matcher.topic}.atom>;rel=alternate;type="application/atom+xml"
136 redir * /topics/{re.matcher.topic}{re.matcher.suffix}
141 header Access-Control-Allow-Origin "*"
144 index index.xml index.xhtml index.html index.rdf index.txt