Skip to content

Commit b031eaa

Browse files
committed
Merge branch 'release/1.0.8'
2 parents 63a0c95 + 057ac29 commit b031eaa

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Nginx-Craft Changelog
22

3+
## 1.0.8 - 2017.08.24
4+
### Changed
5+
* Fixed an issue where the removal of trailing slashes could cause directory URLs to fail with "too many redirects"
6+
37
## 1.0.7 - 2017.08.05
48
### Added
59
* Added `Referrer-Policy "no-referrer-when-downgrade";` to `security.conf`

forge-example/NginxConfiguration.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ server {
5555

5656
# Root directory location handler
5757
location / {
58-
try_files $uri $uri/ /index.php?$query_string;
58+
try_files $uri/index.html $uri $uri/ /index.php?$query_string;
5959
}
6060

6161
# Localized sites, hat tip to Johannes -- https://gist.github.com/johanneslamers/f6d2bc0d7435dca130fc

sites-available/somedomain.com.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ server {
7171

7272
# Root directory location handler
7373
location / {
74-
try_files $uri $uri/ /index.php?$query_string;
74+
try_files $uri/index.html $uri $uri/ /index.php?$query_string;
7575
}
7676

7777
# Localized sites, hat tip to Johannes -- https://gist.github.com/johanneslamers/f6d2bc0d7435dca130fc

0 commit comments

Comments
 (0)