Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ai_website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Autistici Inventati
ai_website
Commits
29b5341e
Commit
29b5341e
authored
Sep 5, 2021
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Send caching headers for static content
parent
ccf7e986
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/conf/apache2/sites-available/000-default.conf
+5
-0
5 additions, 0 deletions
docker/conf/apache2/sites-available/000-default.conf
with
5 additions
and
0 deletions
docker/conf/apache2/sites-available/000-default.conf
+
5
−
0
View file @
29b5341e
...
...
@@ -23,6 +23,11 @@
Header
set
X
-
Frame
-
Options
SAMEORIGIN
Header
set
Strict
-
Transport
-
Security
"max-age=2592000;"
# Set caching headers for /static/ content.
<
Location
/
static
/>
Header
set
Cache
-
Control
"max-age=31536000"
</
Location
>
# Configure negotiation.
LanguagePriority
en
it
fr
de
es
pt
ca
ForceLanguagePriority
Prefer
Fallback
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment