Skip to content

Commit 5008e4c

Browse files
committed
Merge branch 'release/1.0.33'
2 parents fac1e06 + 09ddac0 commit 5008e4c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
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.33 - 2021.03.17
4+
### Changed
5+
* Updated the Forge template to use more Forge-provided variables
6+
37
## 1.0.32 - 2021.02.08
48
### Changed
59
* Changed the include path from `/etc/nginx` to `/home/forge` for the Forge config

forge-templates/NginxTemplate.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ map $http_user_agent $limit_bots {
99

1010
server {
1111
# Listen for both IPv4 & IPv6 requests on port 443 with http2 enabled
12-
listen 443 ssl http2;
13-
listen [::]:443 ssl http2;
12+
listen {{ PORT }};
13+
listen {{ PORT_V6 }};
1414

1515
# General virtual host settings
16-
server_name {{ SITE }};
16+
server_name {{ DOMAINS }};
1717
server_tokens off;
1818
root {{ PATH }};
1919
index index.html index.htm index.php;
@@ -121,7 +121,7 @@ server {
121121
try_files $uri $uri/ /index.php?$query_string;
122122
fastcgi_split_path_info ^(.+\.php)(/.+)$;
123123
# Change this to whatever version of php you are using
124-
fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
124+
fastcgi_pass {{ PROXY_PASS }};
125125
fastcgi_index index.php;
126126
include fastcgi_params;
127127
fastcgi_param PATH_INFO $fastcgi_path_info;

0 commit comments

Comments
 (0)