Skip to content

Commit c50adb3

Browse files
authored
Update magento.stpl
Fix docroot to sdocroot
1 parent 8d6ae9d commit c50adb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install/rhel/6/templates/web/nginx/php-fpm/magento.stpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ server {
22
listen %ip%:%web_ssl_port%;
33
server_name %domain_idn% %alias_idn%;
44

5-
root %docroot%/pub;
5+
root %sdocroot%/pub;
66
index index.php;
77
autoindex off;
88
charset UTF-8;
@@ -19,7 +19,7 @@ server {
1919

2020
# PHP entry point for setup application
2121
location ~* ^/setup($|/) {
22-
root %docroot%;
22+
root %sdocroot%;
2323

2424
location ~ ^/setup/index.php {
2525
fastcgi_pass %backend_lsnr%;
@@ -39,7 +39,7 @@ server {
3939

4040
# PHP entry point for update application
4141
location ~* ^/update($|/) {
42-
root %docroot%;
42+
root %sdocroot%;
4343

4444
location ~ ^/update/index.php {
4545
fastcgi_split_path_info ^(/update/index.php)(/.+)$;
@@ -69,7 +69,7 @@ server {
6969
deny all;
7070
}
7171

72-
alias %docroot%/pub/;
72+
alias %sdocroot%/pub/;
7373
add_header X-Frame-Options "SAMEORIGIN";
7474
}
7575

0 commit comments

Comments
 (0)