remove security headers
This commit is contained in:
@@ -21,9 +21,9 @@ FROM httpd:2.4-alpine AS runtime
|
|||||||
COPY --from=build /app/dist /usr/local/apache2/htdocs/
|
COPY --from=build /app/dist /usr/local/apache2/htdocs/
|
||||||
|
|
||||||
# Add security headers
|
# Add security headers
|
||||||
RUN echo 'Header set X-Content-Type-Options "nosniff"' >> /usr/local/apache2/conf/httpd.conf && \
|
# RUN echo 'Header set X-Content-Type-Options "nosniff"' >> /usr/local/apache2/conf/httpd.conf && \
|
||||||
echo 'Header set X-Frame-Options "SAMEORIGIN"' >> /usr/local/apache2/conf/httpd.conf && \
|
# echo 'Header set X-Frame-Options "SAMEORIGIN"' >> /usr/local/apache2/conf/httpd.conf && \
|
||||||
echo 'Header set X-XSS-Protection "1; mode=block"' >> /usr/local/apache2/conf/httpd.conf
|
# echo 'Header set X-XSS-Protection "1; mode=block"' >> /usr/local/apache2/conf/httpd.conf
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user