mirror of
https://github.com/YunoHost-Apps/prestashop_ynh.git
synced 2024-09-03 20:06:39 +02:00
Supprimer des lignes de conf nginx inutile
This commit is contained in:
parent
0b0daadde7
commit
123f1f41fd
1 changed files with 0 additions and 6 deletions
|
@ -2,12 +2,6 @@ location __PATHTOCHANGE__ {
|
||||||
alias __FINALPATH__/;
|
alias __FINALPATH__/;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
if (!-e $request_filename)
|
|
||||||
{
|
|
||||||
rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last;
|
|
||||||
rewrite ^/.*$ __PATHTOCHANGE__/index.php last;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue