User Tools

Site Tools


linux:ispconfig

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:ispconfig [2024/02/08 19:20] Jan Formanlinux:ispconfig [2024/04/25 13:50] Jan Forman
Line 227: Line 227:
 # Adding the cache control header for js and css files # Adding the cache control header for js and css files
 # Make sure it is BELOW the PHP block # Make sure it is BELOW the PHP block
-location ~* \.(?:css|js)$ {+location ~* \.(?:css|js|mjs)$ {
   try_files $uri /index.php$uri$is_args$args;   try_files $uri /index.php$uri$is_args$args;
   add_header Cache-Control "public, max-age=604800";   add_header Cache-Control "public, max-age=604800";
linux/ispconfig.txt · Last modified: 2024/05/02 11:17 by Jan Forman