v3 init push
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# Serve https://localhost/mythoughts/ from the public web root.
|
||||
#
|
||||
# Include this from the site VirtualHost (or paste the Alias/Directory block
|
||||
# into the existing one). Everything outside public/ - lib/, config/, vendor/,
|
||||
# node_modules/ - stays off the document root and is never web-reachable.
|
||||
|
||||
Alias /mythoughts /var/www/html/mythoughts/public
|
||||
|
||||
<Directory /var/www/html/mythoughts/public>
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
|
||||
DirectoryIndex index.php
|
||||
|
||||
<IfModule mod_headers.c>
|
||||
# Vite writes content-hashed asset names, so they are safe to pin.
|
||||
<FilesMatch "\.[0-9a-f]{8,}\.(js|css|woff2?|svg)$">
|
||||
Header set Cache-Control "public, max-age=31536000, immutable"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_brotli.c>
|
||||
AddOutputFilterByType BROTLI_COMPRESS \
|
||||
text/html \
|
||||
text/plain \
|
||||
text/css \
|
||||
text/javascript \
|
||||
application/javascript \
|
||||
application/json \
|
||||
application/manifest+json \
|
||||
image/svg+xml
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_deflate.c>
|
||||
AddOutputFilterByType DEFLATE \
|
||||
text/html \
|
||||
text/plain \
|
||||
text/css \
|
||||
text/javascript \
|
||||
application/javascript \
|
||||
application/json \
|
||||
application/manifest+json \
|
||||
image/svg+xml
|
||||
</IfModule>
|
||||
</Directory>
|
||||
Reference in New Issue
Block a user