role_podman_nextcloud/files/nginx/Dockerfile

4 lines
285 B
Docker

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