Skip to content

Commit ed9567a

Browse files
committed
Fix nginx configuration.
1 parent c8ea101 commit ed9567a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

nginx/nginx.conf

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
server {
2-
listen 8080;
3-
location / {
4-
root /usr/share/nginx/html;
5-
index index.html index.htm;
6-
try_files $uri $uri/ /index.html =404;
7-
}
8-
}
2+
listen 8080;
3+
root /usr/share/nginx/html;
4+
index index.html;
5+
6+
location /graphiql {
7+
rewrite ^/graphiql(/.*) $1 break;
8+
try_files $uri /index.html =404;
9+
}
10+
}

0 commit comments

Comments
 (0)