Skip to content

Commit

Permalink
Add config for websockets and websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic authored and foolip committed Dec 3, 2021
1 parent 2ff913a commit 3c3dee7
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/marquee/DOMAINS
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ testutils.spec.whatwg.org
url.spec.whatwg.org
validator.whatwg.org
webidl.spec.whatwg.org
websockets.spec.whatwg.org
websocket.spec.whatwg.org
webvtt.spec.whatwg.org
www.whatwg.org
xhr.spec.whatwg.org
Expand Down
7 changes: 7 additions & 0 deletions debian/marquee/nginx/sites/websocket.spec.whatwg.org.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
server {
server_name websocket.spec.whatwg.org;

include /etc/nginx/whatwg.conf;

return 301 https://websockets.spec.whatwg.org$request_uri;
}
6 changes: 6 additions & 0 deletions debian/marquee/nginx/sites/websockets.spec.whatwg.org.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
server {
server_name websockets.spec.whatwg.org;
root /var/www/websockets.spec.whatwg.org;

include /etc/nginx/whatwg.conf;
}
2 changes: 2 additions & 0 deletions test/certs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const DOMAINS = [
'url.spec.whatwg.org',
'validator.whatwg.org',
'webidl.spec.whatwg.org',
'websocket.spec.whatwg.org',
'websockets.spec.whatwg.org',
'webvtt.spec.whatwg.org',
'whatwg.org',
'wiki.whatwg.org',
Expand Down
1 change: 1 addition & 0 deletions test/redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const HTTPS_TESTS = [
['https://url.spec.whatwg.org/reference-implementation/liveview3.html', 301, 'https://quuz.org/url/liveview3.html'],
['https://url.spec.whatwg.org/reference-implementation/uri-validate.html', 301, 'https://quuz.org/url/uri-validate.html'],
['https://validator.whatwg.org/', 301, 'https://whatwg.org/validator/', 'keep'],
['https://websocket.spec.whatwg.org/', 301, 'https://websockets.spec.whatwg.org/', 'keep'],
['https://webvtt.spec.whatwg.org/', 302, 'https://w3c.github.io/webvtt/', 'keep'],
['https://whatwg.org/C', 301, 'https://html.spec.whatwg.org/multipage/', 'keep'],
['https://whatwg.org/HTML', 301, 'https://html.spec.whatwg.org/multipage/', 'keep'],
Expand Down

0 comments on commit 3c3dee7

Please sign in to comment.