Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wordpress
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libre.sh
compose
Wordpress
Commits
e99374d0
Commit
e99374d0
authored
1 year ago
by
COURCELLE
Browse files
Options
Downloads
Patches
Plain Diff
expiry date = 1y
parent
b56648e2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nginx.conf
+14
-4
14 additions, 4 deletions
nginx.conf
with
14 additions
and
4 deletions
nginx.conf
+
14
−
4
View file @
e99374d0
...
@@ -38,10 +38,20 @@ http {
...
@@ -38,10 +38,20 @@ http {
root
/var/www/html
;
root
/var/www/html
;
index
index.php
;
index
index.php
;
location
~
*
\
.(jpg|jpeg|gif|png|css|js|ico|xml)
$
{
location
~
*
\
.(txt|xml|js)
$
{
access_log
off
;
expires
1y
;
log_not_found
off
;
}
expires
30d
;
location
~
*
\
.(css)
$
{
expires
1y
;
}
location
~
*
\
.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|woff2|svg)
$
{
expires
1y
;
}
location
~
*
\
.(jpg|jpeg|png|gif|swf|webp)
$
{
expires
1y
;
}
}
open_file_cache
max=2000
inactive=20s
;
open_file_cache
max=2000
inactive=20s
;
...
...
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