Skip to content

Commit

Permalink
Merge pull request #295 from gyselroth/v3.2.x
Browse files Browse the repository at this point in the history
v3.2.15
  • Loading branch information
raffis committed Mar 24, 2020
2 parents c062f50 + 134e4df commit cc7643b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
## 3.2.15
**Maintainer**: balloon-team <opensource@gyselroth.net>\
**Date**: Tue Mar 24 16:10:03 CET 2020

### Changes
* Allow google recaptcha through CSP #292

### Packaging
* Run nginx master rootless, inherit from nginxinc/nginx-unprivileged instead official docker nginx
* Disable nginx server token in production build


## 3.2.14
**Maintainer**: balloon-team <opensource@gyselroth.net>\
**Date**: Tue Mar 17 11:49:03 CET 2020

### Changes
* Add content-security-policy by default #292
* Add content-security-policy by default #292


## 3.2.13
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM nginx:1-alpine
FROM nginxinc/nginx-unprivileged:1-alpine
COPY packaging/nginx.conf /etc/nginx/conf.d/default.conf
COPY build/ /usr/share/balloon-web
3 changes: 2 additions & 1 deletion packaging/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data:;";
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/; frame-src https://www.google.com/recaptcha/";
server_tokens off;

server {
location / {
Expand Down

0 comments on commit cc7643b

Please sign in to comment.