Changelog

This is the changelog for infomaker/everyware-nginx-conf

Version 1.1.1

Release Date: 24-01-2024 Added:

  1. Nginx v1.1.1 has been introduced with the capability to overwrite the robots.txt file with the themes using the custom robots.php

Removed: From Nginx configuration file (restrictions.conf), we removed the following codes to handle robots.txt:

location = /robots.txt {

log_not_found off;

access_log off;

alias /var/www/robots.txt;

}

Current version: 1.1.0

[Unreleased]

1.1.0 - 2021-09-20

Changed

  • Reworked php-location.conf to use fastcgi_params.

  • Made slight changes to the params set by fastcgi_params to work better with php-location.conf and other locations that might need to use it.

    • If you were previously including fastcgi_params in project specific code somewhere, you might have to account for this, so please review the changes if so.

1.0.2 - 2021-06-21

Fixed

  • The same regex error fixed in 1.0.1 was present in aws/locations.conf as well.

1.0.1 - 2021-06-16

Fixed

  • Fixed a bug in the restrictions regex that was incorrectly blocking requests ending with the same letters as the extensions we intended to block, if the site was configured to not add trailing slash.

1.0.0 - 2021-04-28

Added

  • Added support for using device headers from CloudFront. These will take precedence over dClass. If no CloudFront device headers are present, we will fallback to dClass.

Changed

  • real_ip_recursive is now set to on. Along with set_real_ip_from 0.0.0.0/0;, this means that we can no longer trust real_ip to always be accurate, since it can now be spoofed. However, with the introduction of CloudFront, nginx will no longer be seeing the bulk of the requests. Any attempts at mapping requests from specific IP addresses will have to begin in the CloudFront logs. real_ip is kept since it can be handy when debugging issues in production.

  • Removed superfluous log output keys rate_limit_remaining and http_x_cache, changed real_ip to http_x_forwarded_for.

Removed

  • Removed ledge front cache.

  • Removed legacy code related to Tulo.

  • Removed support for allow.conf, all IP restrictions are handled by ACL now.

  • Removed support for cacheblock.conf.

0.8.0 - 2021-03-02

Changed

  • Moved include app/locations.conf; to the top of aws/dev location.conf to improve flexibility in what behavior the project can change. Make sure to test thoroughly if your project uses any custom locations.

0.7.0 - 2021-02-05

Changed

  • Requests toward /.well-known/assetlinks.json and /.well-known/apple-app-site-association are no longer blocked, thus allowing implementation of Android and iOS deep linking.

0.6.4 - 2020-09-08

Fixed

  • Fixed issue with new IP range in dev environment.

0.6.3 - 2020-09-08

Added

  • Extracted IPs with required access into a file for maintenance.

  • Added Naviga Office IPs to list of IP addresses with required access.

0.6.2 - 2020-04-03

Added

  • FRONT_CACHE_TTL env variable that can be used in project ledge-run.lua for front cache ttl.

0.6.1 - 2020-03-18

Added

  • REDIS_FC_HOST env variable to nginx.conf dev to enable local rate limit.

Changed

  • Updated the path to purge.lua so that it points to the correct location.

  • Updated license in composer.json.

0.6.0 - 2020-03-02

Added

  • It's now possible to add project specific cacheblock in nginx/app/cacheblock.conf. Introducing this has made it a requirement to have that file in place, even if it's just an empty file.

0.5.0 - 2020-02-28

Added

  • The project specific nginx/app/locations.conf is now usable locally as well. This change requires that ./nginx/app:/etc/nginx/app be added under openresty->volumes in the project docker-compose.yml.

0.4.3 - 2020-01-29

Updated

  • Updated list of allowed bots.

0.4.2 - 2019-12-19

Changed

  • DNS resolver IP rollback.

0.4.1 - 2019-12-19

Updated

  • Heighten rate limit.

0.4.0 - 2019-10-24

Added

  • Added missing AWS DNS server to check-access.lua.

  • Updated documentation format.

Changed

  • DNS resolver IP.

0.3.2 - 2019-08-16

Added

  • Locations for api/oc-post endpoint.

0.3.1 - 2019-05-08

Added

  • Added a new deployment build.

  • Makefile for deploy and release commands.

Changed

  • Composer constraints.

  • Whitelisted IP addresses now need to be added into /nginx/app/allow.conf.

Removed

  • old jenkins-deploy.sh

  • composer.lock

  • package-lock.json

  • Gulp dist task

0.3.0 - 2019-04-11

Added

  • Updated file structures for a final release.

Changed

  • Environment specific Nginx resolver, changed into Amazon default resolver.

  • Added possibility to include Nginx configuration in locations.conf.

0.2.0 - 2018-12-19

Added

  • License file

Changed

  • Fix correct license references.

0.1.0 - 2018-12-18

Added

  • Added this file and boilerplate and markup example for the future

Last updated