mirror of
https://github.com/YunoHost-Apps/prestashop_ynh.git
synced 2024-09-03 20:06:39 +02:00
Erreur dans nginx.conf
This commit is contained in:
parent
4598396ccd
commit
75691da994
1 changed files with 3 additions and 8 deletions
|
@ -1,8 +1,3 @@
|
||||||
#--MULTISITE--if (!-e $request_filename) {
|
|
||||||
#--MULTISITE--rewrite /ecrire$ $scheme://$host$uri/ permanent;
|
|
||||||
#--MULTISITE--rewrite ^__PATHTOCHANGE__(/[^/]+)?(/.*\.php)$ __PATHTOCHANGE__$2 last;
|
|
||||||
#--MULTISITE--}
|
|
||||||
|
|
||||||
location __PATHTOCHANGE__ {
|
location __PATHTOCHANGE__ {
|
||||||
alias __FINALPATH__;
|
alias __FINALPATH__;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
@ -47,9 +42,9 @@ location __PATHTOCHANGE__ {
|
||||||
rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+.jpg$ /img/c/$1$2.jpg last;
|
rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+.jpg$ /img/c/$1$2.jpg last;
|
||||||
|
|
||||||
# Symfony controllers
|
# Symfony controllers
|
||||||
location ~ /(international|_profiler|module|product|combination|specific-price)/(.*)$ {
|
# location ~ /(international|_profiler|module|product|combination|specific-price)/(.*)$ {
|
||||||
try_files $uri $uri/ /index.php?q=$uri&$args $admin_dir/index.php$is_args$args;
|
# try_files $uri $uri/ /index.php?q=$uri&$args $admin_dir/index.php$is_args$args;
|
||||||
}
|
# }
|
||||||
|
|
||||||
# Redirect needed to "hide" index.php
|
# Redirect needed to "hide" index.php
|
||||||
# location / {
|
# location / {
|
||||||
|
|
Loading…
Add table
Reference in a new issue