Skip to content

Commit c321515

Browse files
committed
fix: update variable substitution in nginx configuration template
1 parent ca1ced2 commit c321515

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

etc/nginx/default.template.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ server {
1111
error_log /var/log/nginx/error.log;
1212

1313
# Root directory and index files
14-
root /var/www/html/${APP_PUBLIC_DIR:-public};
14+
root /var/www/html/${APP_PUBLIC_DIR};
1515
index index.php index.html;
1616

1717
# Framework specific configuration
18-
include /etc/nginx/framework/${APP_FRAMEWORK:-default}.conf;
18+
include /etc/nginx/conf.d/framework/${APP_FRAMEWORK}.conf;
1919

2020
# PHP-FPM Configuration
2121
location ~ \.php$ {
@@ -65,15 +65,15 @@ server {
6565
# ssl_session_tickets off;
6666
#
6767
# # Root directory and index files
68-
# root /var/www/html/${APP_PUBLIC_DIR:-public};
68+
# root /var/www/html/${APP_PUBLIC_DIR};
6969
# index index.php index.html;
7070
#
7171
# # Logging
7272
# access_log /var/log/nginx/access.log;
7373
# error_log /var/log/nginx/error.log;
7474
#
7575
# # Framework specific configuration
76-
# include /etc/nginx/framework/${APP_FRAMEWORK:-default}.conf;
76+
# include /etc/nginx/framework/${APP_FRAMEWORK}.conf;
7777
#
7878
# # PHP-FPM Configuration
7979
# location ~ \.php$ {

0 commit comments

Comments
 (0)