-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265 from gyselroth/v3.2.x
v3.2.8
- Loading branch information
Showing
8 changed files
with
61 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
## 3.2.8 | ||
**Maintainer**: balloon-team <[email protected]>\ | ||
**Date**: Wed Oct 02 14:33:22 CEST 2019 | ||
|
||
* [FIX] Cannot start container balloon_balloon-web_1 #262 | ||
* [FIX] Updated dependencies (npm audit) | ||
|
||
|
||
## 3.2.7 | ||
**Maintainer**: balloon-team <[email protected]>\ | ||
**Date**: Wed Sep 11 16:31:23 CEST 2019 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,2 @@ | ||
FROM nginx:1-alpine | ||
|
||
RUN apk add --update openssl \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
RUN mkdir /usr/share/balloon-web/nginx -p | ||
COPY build/ /usr/share/balloon-web/ | ||
COPY packaging/nginx.conf /etc/nginx/conf.d/balloon.conf | ||
|
||
RUN sed -i "s#unix:/run/php/php7.2-fpm.sock#balloon:9000#g" /etc/nginx/conf.d/balloon.conf \ | ||
&& sed -i "s#/var/log/balloon/nginx_access.log#/dev/stdout#g" /etc/nginx/conf.d/balloon.conf \ | ||
&& sed -i "s#/var/log/balloon/nginx_error.log#/dev/stderr#g" /etc/nginx/conf.d/balloon.conf | ||
|
||
RUN openssl genrsa -des3 -passout pass:balloon -out server.pass.key 2048 \ | ||
&& openssl rsa -passin pass:balloon -in server.pass.key -out key.pem \ | ||
&& rm server.pass.key \ | ||
&& openssl req -new -key key.pem -out server.csr -subj "/C=CH/L=Zurich/O=Balloon/CN=balloon.local" \ | ||
&& openssl x509 -req -days 365 -in server.csr -signkey key.pem -out chain.pem \ | ||
&& rm server.csr \ | ||
&& mv key.pem /etc/ssl/balloon \ | ||
&& mv chain.pem /etc/ssl/balloon | ||
|
||
EXPOSE 80 443 | ||
COPY build/ /usr/share/nginx/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
location / { | ||
root /usr/share/balloon-web; | ||
index index.html; | ||
break; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
server { | ||
listen 80; | ||
access_log /var/log/balloon/nginx_access.log; | ||
error_log /var/log/balloon/nginx_error.log; | ||
rewrite ^(.*) https://$host$1 permanent; | ||
} | ||
|
||
server { | ||
listen 443; | ||
client_max_body_size 16G; | ||
|
||
access_log /var/log/balloon/nginx_access.log; | ||
error_log /var/log/balloon/nginx_error.log; | ||
|
||
ssl on; | ||
ssl_certificate "/etc/ssl/balloon/chain.pem"; | ||
ssl_certificate_key "/etc/ssl/balloon/key.pem"; | ||
add_header Strict-Transport-Security "max-age=31556926"; | ||
|
||
include /etc/nginx/conf.d/balloon/*.conf; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.