Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
OSL
code
org.etsi.osl.portal.web
Compare revisions
3eac76d85e3d4c208b163d95182deca5404522ab...d2aebb6d9f5c8e743e9a804cc6960cb871a2f6bf
Commits (2)
feat: latest nginx conf
· 4def287c
Dimitrios Giannopoulos
authored
Apr 29, 2024
4def287c
Merge branch '6-update-obsolete-nginx-configuration-for-image-build' into 'develop'
· d2aebb6d
trantzas
authored
Apr 30, 2024
Resolve "Update obsolete nginx configuration for image build" See merge request
!3
d2aebb6d
Hide whitespace changes
Inline
Side-by-side
nginx-custom.conf
View file @
d2aebb6d
# Expires map
# Expires map
map
$
sent_http_content_type
$
expires
{
map
$
sent_http_content_type
$
expires
{
default
off
;
default
off
;
...
@@ -14,20 +12,12 @@
...
@@ -14,20 +12,12 @@
listen
80
;
listen
80
;
include
/
etc
/
nginx
/
mime
.
types
;
include
/
etc
/
nginx
/
mime
.
types
;
server_name
localhost
;
server_name
{{ .
Values
.
rooturl
}};
location
/ {
location
/ {
root
/
usr
/
share
/
nginx
/
html
/
nfvportal
/
openslicehome
;
root
/
usr
/
share
/
nginx
/
html
/;
index
index
.
html
;
}
location
^~/
nfvportal
/ {
root
/
usr
/
share
/
nginx
/
html
;
index
index
.
html
index
.
htm
;
index
index
.
html
index
.
htm
;
try_files
$
uri
$
uri
/
/
nfvportal
/
index
.
html
=
404
;
try_files
$
uri
$
uri
/ /
index
.
html
=
404
;
}
}
expires
$
expires
;
expires
$
expires
;
gzip
on
;
gzip
on
;
}