Skip to content

Commit

Permalink
Release 5.17.3 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Mar 5, 2022
1 parent 4bfa0f4 commit 602c195
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 5.17.3 2022-03-04 <dave at tiredofit dot ca>

### Changed
- Move upstream blocks to dedicated section to nginx.conf as opposed to default.conf


## 5.17.2 2022-03-02 <dave at tiredofit dot ca>

### Added
Expand Down
4 changes: 2 additions & 2 deletions install/etc/cont-init.d/10-nginx
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ EOF
echo " server $host${llng_handler_listen_port} ${NGINX_UPSTREAM_OPTIONS};" >> /etc/nginx/nginx.conf.d/authentication/llng_upstream
done
echo "}" >> /etc/nginx/nginx.conf.d/authentication/llng_upstream
sed -i -e "/ server {/i### LLNG Authentication Multiple Handlers configuration" /etc/nginx/conf.d/default.conf
sed -i -e "/ server {/i\include \/etc\/nginx\/nginx.conf.d\/authentication\/llng_upstream;" /etc/nginx/conf.d/default.conf
sed -i -e "/# Do not delete - Upstream Configuration/a\ \ \ \ include \/etc\/nginx\/nginx.conf.d\/authentication\/llng_upstream;" /etc/nginx/nginx.conf
sed -i -e "/# Do not delete - Upstream Configuration/a\ \ \ \ ### LLNG Authentication Multiple Handlers configuration" /etc/nginx/nginx.conf
sed -i "s#<LLNG_HANDLER_PORT>#$NGINX_AUTHENTICATION_LLNG_HANDLER_PORT#g" /etc/nginx/nginx.conf.d/authentication/llng_location_block

if [ ! -f "/etc/cont-init.d/20-php-fpm" ]; then
Expand Down
3 changes: 3 additions & 0 deletions install/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ http {
include /etc/nginx/nginx.conf.d/compression_gzip.conf;
include /etc/nginx/nginx.conf.d/compression_brotli.conf;
include /etc/nginx/nginx.conf.d/monitoring.conf;

# Do not delete - Upstream Configuration

include /etc/nginx/conf.d/*.conf;
}

0 comments on commit 602c195

Please sign in to comment.