nginx - Dockerfile sed -i, semicolon line terminators
This commit is contained in:
1 parent
c0af475117
commit
39a5ca3f9a
2 files changed
+3
-3
No files matched your search
@@ -1,3 +1,3 @@
|
||||
FROM nginx:latest
|
||||
|
||||
RUN sed 's/\#gzip.*on;/server_tokens\toff;\n #gzip\ton;/' /etc/nginx/nginx.conf
|
||||
RUN sed -i 's/\#gzip.*on;/server_tokens\toff;\n #gzip\ton;/' /etc/nginx/nginx.conf
|
||||
Reference in new issue
Block a user