1 parent e73545a commit e217d9dCopy full SHA for e217d9d
1 file changed
nginx.conf
@@ -5,6 +5,11 @@ server {
5
root /usr/share/nginx/html;
6
index index.html;
7
8
+ # Use relative redirects so the original port (e.g. 9000 in local dev or a
9
+ # reverse-proxy port in production) is preserved instead of being replaced
10
+ # by nginx's internal port 80.
11
+ absolute_redirect off;
12
+
13
# Serve pre-compressed .gz files generated by gatsby-plugin-zopfli
14
gzip_static on;
15
0 commit comments