Skip to content

Commit 56e2233

Browse files
use ipv6 localhost for myst proxy
1 parent 4da04d0 commit 56e2233

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operations/nginx-cookbook.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ server {
1010
}
1111

1212
location @proxy {
13-
proxy_pass http://localhost:3000;
13+
proxy_pass http://[::1]:3000;
1414
proxy_http_version 1.1;
1515
proxy_set_header Upgrade $http_upgrade;
1616
proxy_set_header Connection 'upgrade';
@@ -22,7 +22,7 @@ server {
2222
}
2323

2424
location / {
25-
proxy_pass http://localhost:3000;
25+
proxy_pass http://[::1]:3000;
2626
proxy_http_version 1.1;
2727
proxy_set_header Upgrade $http_upgrade;
2828
proxy_set_header Connection 'upgrade';

0 commit comments

Comments
 (0)