Skip to content

Commit

Permalink
use correct syntax for more_set_headers
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Nov 21, 2024
1 parent 1359746 commit bd5e611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nginx/common.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ location ~ /\. { access_log off; log_not_found off; deny all; }

# for user uploaded files, use a long cache value, as uploads are not modified anyway: an URL points always to the same exact file
location ^~ /app/download.php {
more_set_headers Cache-Control "public, max-age=31536000";
more_set_headers "Cache-Control: public, max-age=31536000";
include /etc/nginx/fastcgi.conf;
fastcgi_index index.php;
log_not_found off;
Expand Down

0 comments on commit bd5e611

Please sign in to comment.