nginx - map directive troubleshooting
This commit is contained in:
parent
8060227475
commit
4217f56c49
@ -1,3 +1,3 @@
|
||||
FROM nginx:latest
|
||||
|
||||
RUN sed -i 's/\#gzip.*on;/server_tokens\toff;\n # Set the `immutable` cache control options only for assets with a cache busting `v` argument\n map $arg_v $asset_immutable {\n "" "";\n default ", immutable";\n }\n #gzip\ton;/' /etc/nginx/nginx.conf
|
||||
RUN sed -i 's/\#gzip.*on;/server_tokens\toff;\n # Set the `immutable` cache control options only for assets with a cache busting `v` argument\n map $arg_v $asset_immutable {\n "" "";\n default ", immutable";\n\n }\n #gzip\ton;/' /etc/nginx/nginx.conf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user