mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-06-27 04:51:43 +00:00
Set CSP policy for static assets for security hardeninng
This commit is contained in:
parent
0cd83f0322
commit
b62f47ba05
6 changed files with 29 additions and 9 deletions
|
|
@ -193,7 +193,7 @@ RUN a2dissite 000-default.conf && \
|
|||
a2enmod proxy_fcgi setenvif && \
|
||||
a2enconf php${PHP_VERSION}-fpm && \
|
||||
a2enconf docker-php && \
|
||||
a2enmod rewrite
|
||||
a2enmod rewrite headers
|
||||
|
||||
# Install composer and yarn dependencies for Part-DB
|
||||
USER www-data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue