diff --git a/roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 b/roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 index 761607f..af95cb9 100644 --- a/roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 +++ b/roles/nginx/templates/vhosts/fav.libertus.eu.conf.j2 @@ -9,12 +9,12 @@ server { } location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ { - expires 2w; - log_not_found off; + expires 2w; + log_not_found off; } location / { - try_files _ /index.php$is_args$args; + try_files $uri $uri/ /index.php$is_args$args; } location ~ index\.php$ {