mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
Update magento.stpl
Fix docroot to sdocroot
This commit is contained in:
parent
fabd6f1099
commit
8d6ae9d4a1
1 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ server {
|
||||||
listen %ip%:%web_ssl_port%;
|
listen %ip%:%web_ssl_port%;
|
||||||
server_name %domain_idn% %alias_idn%;
|
server_name %domain_idn% %alias_idn%;
|
||||||
|
|
||||||
root %docroot%/pub;
|
root %sdocroot%/pub;
|
||||||
index index.php;
|
index index.php;
|
||||||
autoindex off;
|
autoindex off;
|
||||||
charset UTF-8;
|
charset UTF-8;
|
||||||
|
@ -19,7 +19,7 @@ server {
|
||||||
|
|
||||||
# PHP entry point for setup application
|
# PHP entry point for setup application
|
||||||
location ~* ^/setup($|/) {
|
location ~* ^/setup($|/) {
|
||||||
root %docroot%;
|
root %sdocroot%;
|
||||||
|
|
||||||
location ~ ^/setup/index.php {
|
location ~ ^/setup/index.php {
|
||||||
fastcgi_pass %backend_lsnr%;
|
fastcgi_pass %backend_lsnr%;
|
||||||
|
@ -39,7 +39,7 @@ server {
|
||||||
|
|
||||||
# PHP entry point for update application
|
# PHP entry point for update application
|
||||||
location ~* ^/update($|/) {
|
location ~* ^/update($|/) {
|
||||||
root %docroot%;
|
root %sdocroot%;
|
||||||
|
|
||||||
location ~ ^/update/index.php {
|
location ~ ^/update/index.php {
|
||||||
fastcgi_split_path_info ^(/update/index.php)(/.+)$;
|
fastcgi_split_path_info ^(/update/index.php)(/.+)$;
|
||||||
|
@ -69,7 +69,7 @@ server {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
alias %docroot%/pub/;
|
alias %sdocroot%/pub/;
|
||||||
add_header X-Frame-Options "SAMEORIGIN";
|
add_header X-Frame-Options "SAMEORIGIN";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue