Skip to content

Commit

Permalink
fix: slash in nginx vhost files against path traversal
Browse files Browse the repository at this point in the history
  • Loading branch information
dag7dev committed Feb 22, 2024
1 parent facde86 commit 5ec88b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/zabbix_web/templates/nginx_vhost.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ server {
try_files $uri $uri/ =404;
}

location /assets {
location /assets/ {
access_log off;
expires 10d;
}
Expand Down Expand Up @@ -85,7 +85,7 @@ server {
try_files $uri $uri/ =404;
}

location /assets {
location /assets/ {
access_log off;
expires 10d;
}
Expand Down

0 comments on commit 5ec88b7

Please sign in to comment.