Skip to content

Commit

Permalink
Release 6.2.10 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Nov 29, 2022
1 parent f301f8d commit a45ea77
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@
## 6.2.10 2022-11-29 <dave at tiredofit dot ca>

### Changed
- Rework HTTPs switch in fastcgi_params


## 6.2.9 2022-11-23 <dave at tiredofit dot ca>

### Added
Expand Down
4 changes: 2 additions & 2 deletions install/assets/functions/10-nginx
Original file line number Diff line number Diff line change
Expand Up @@ -420,11 +420,11 @@ nginx_configure_server() {
### FastCGI reverse proxy
if var_true "${NGINX_ENABLE_FASTCGI_HTTPS}"; then
print_notice "Enable Nginx FastCGI HTTPS Termination Support"
sed -i "s|fastcgi_param HTTPS '.*';|fastcgi_param HTTPS 'on';" >> /etc/nginx/fastcgi_params
sed -i "s|fastcgi_param HTTPS '.*';|fastcgi_param HTTPS 'on';|g" >> /etc/nginx/fastcgi_params
PROTOCOL="https://"
else
print_debug "Disable Nginx FastCGI HTTPS Termination Support"
sed -i "s|fastcgi_param HTTPS '.*';|fastcgi_param HTTPS 'off';" >> /etc/nginx/fastcgi_params
sed -i "s|fastcgi_param HTTPS '.*';|fastcgi_param HTTPS 'off';|g" >> /etc/nginx/fastcgi_params
PROTOCOL="http://"
fi

Expand Down

0 comments on commit a45ea77

Please sign in to comment.