Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TedImg - img.tedomum.net
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TeDomum
TedImg - img.tedomum.net
Commits
1ded4e87
Commit
1ded4e87
authored
Jun 09, 2018
by
kaiyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add security headers to nginx
parent
41b3d35d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
docker/nginx.conf
docker/nginx.conf
+6
-0
No files found.
docker/nginx.conf
View file @
1ded4e87
...
...
@@ -28,6 +28,12 @@ http {
client_max_body_size
20M
;
add_header
X-Frame-Options
'SAMEORIGIN'
;
add_header
X-Content-Type-Options
'nosniff'
;
add_header
X-Permitted-Cross-Domain-Policies
'none'
;
add_header
X-XSS-Protection
'1
;
mode=block'
;
add_header
Referrer-Policy
'same-origin'
;
location
/data
{
root
/
;
}
...
...
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