Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc-team
strudelv2_spa
Commits
dc063d63
Commit
dc063d63
authored
Sep 23, 2020
by
Chris Hines
Browse files
fix up the sv2 snippet
parent
64934a74
Pipeline
#12076
passed with stages
in 6 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nginx_snippets/sv2.conf
View file @
dc063d63
...
...
@@ -2,5 +2,10 @@ location ~ /.* {
root
/
opt
/
strudel2
/
spa
/
sv2
/;
#alias /var/www/sv2/dist/sv2/;
try_files
$
uri
$
args
$
uri
$
args
/ $
uri
/ /
index
.
html
;
}
add_header
Content
-
Security
-
Policy
"default-src 'self' *.cloud.cvl.org.au; style-src 'self' fonts.googleapis.com 'unsafe-inline'; font-src 'self' fonts.gstatic.com"
;
add_header
Strict
-
Transport
-
Security
"max-age=15768000; includeSubDomains"
always
;
add_header
X
-
Frame
-
Options
"SAMEORIGIN"
;
add_header
X
-
XSS
-
Protection
"1; mode=block"
;
add_header
X
-
Content
-
Type
-
Options
"nosniff"
;
}
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