Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
docker-php-yii2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
docker-php-yii2
Commits
5dd27584
Commit
5dd27584
authored
Dec 22, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
e89049b9
'
parents
1766e7b7
e89049b9
Pipeline
#17419
passed with stages
in 1 minute and 12 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
nginx.conf
nginx/image-files/etc/nginx/nginx.conf
+13
-1
No files found.
nginx/image-files/etc/nginx/nginx.conf
View file @
5dd27584
...
...
@@ -57,6 +57,9 @@ http {
application/rss
+xml
image/svg
+xml
;
# don't use etag with expire
etag
off
;
server
{
charset
utf-8
;
client_max_body_size
512M
;
...
...
@@ -73,7 +76,16 @@ http {
}
# uncomment to avoid processing of calls to non-existing static files by Yii
location
~
\.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$
{
location
~
\.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar|svg)$
{
# set expire Header
expires
6M
;
#add_header Cache-Control "public";
add_header
Last-Modified
""
;
# keep logs clean
log_not_found
off
;
try_files
$uri
=
404
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment