Skip to content

Commit efd9f3d

Browse files
authored
fix: docker nginx config, revert base url (#1112)
1 parent c1b2217 commit efd9f3d

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

apps/faucet/webpack.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ require("dotenv").config({ path: resolve(__dirname, ".env") });
1010

1111
const { NODE_ENV } = process.env;
1212

13-
const ASSET_PATH = "/";
14-
1513
const createStyledComponentsTransformer =
1614
require("typescript-plugin-styled-components").default;
1715

@@ -62,7 +60,7 @@ module.exports = {
6260
faucet: "./src",
6361
},
6462
output: {
65-
publicPath: ASSET_PATH,
63+
publicPath: "/",
6664
path: resolve(__dirname, `./build/`),
6765
filename: "[name].bundle.js",
6866
},

docker/faucet/nginx.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ server {
66
index index.html index.htm;
77
try_files $uri $uri/ $uri.html /index.html;
88
}
9-
gzip on;
10-
gzip_types text/plain text/css application/javascript application/json application/vnd.ms-fontobject application/xml+rss application/atom+xml font/opentype font/ttf image/svg+xml;
9+
gzip off;
1110
}

docker/namadillo/nginx.conf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ server {
66
index index.html index.htm;
77
try_files $uri $uri/ $uri.html /index.html;
88
}
9-
gzip on;
10-
gzip_types text/plain text/css application/javascript application/json application/vnd.ms-fontobject application/xml+rss application/atom+xml font/opentype font/ttf image/svg+xml;
9+
gzip off;
1110
}

0 commit comments

Comments
 (0)