File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Nginx-Craft Changelog
2
2
3
+ ## 1.0.33 - 2021.03.17
4
+ ### Changed
5
+ * Updated the Forge template to use more Forge-provided variables
6
+
3
7
## 1.0.32 - 2021.02.08
4
8
### Changed
5
9
* Changed the include path from ` /etc/nginx ` to ` /home/forge ` for the Forge config
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ map $http_user_agent $limit_bots {
9
9
10
10
server {
11
11
# 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 }} ;
14
14
15
15
# General virtual host settings
16
- server_name {{ SITE }};
16
+ server_name {{ DOMAINS }};
17
17
server_tokens off;
18
18
root {{ PATH }};
19
19
index index.html index.htm index.php;
@@ -121,7 +121,7 @@ server {
121
121
try_files $uri $uri/ /index.php?$query_string;
122
122
fastcgi_split_path_info ^(.+\.php)(/.+)$;
123
123
# 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 }} ;
125
125
fastcgi_index index.php;
126
126
include fastcgi_params;
127
127
fastcgi_param PATH_INFO $fastcgi_path_info;
You can’t perform that action at this time.
0 commit comments