Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ICAT
Datahub
Commits
02bf1bc5
Commit
02bf1bc5
authored
Aug 24, 2020
by
Loic Huder
Browse files
Merge branch 'nginx-js-css-compress' into 'master'
Also compress .js and .css file See merge request
!412
parents
5369b502
52bac29a
Pipeline
#31750
passed with stages
in 5 minutes and 7 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
nginx.conf
View file @
02bf1bc5
server
{
listen
80
;
server_name
localhost
;
gzip
on
;
gzip_vary
on
;
gzip_types
text/css
text/javascript
application/x-javascript
;
location
/
{
root
/usr/share/nginx/html
;
...
...
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