Commit Graph

11 Commits

Author SHA1 Message Date
Daniel Schosser
4512436f1d
fix: add security headers to Docker nginx config (#1244)
* Add security headers to nginx config

Increase the security of the nginx server and the served page, by adding the following security headers to the nginx config:
- X-Frame-Options (Disables click jacking by disallowing the page to be run in a frame/iframe)
- X-XSS-Protection (Enables cross site scripting filtering)
- X-Content-Type-Options (Disables MIME sniffing and forces browser to use the type given in Content-Type.)
- Content-Security-Policy (Controls resources the user agent is allowed to load for a given page.)
- Referrer-Policy (Governs which referrer information sent in the Referer header should be included with requests made.)

Additional headers that could be added optionally:
- Strict-Transport-Security (Enforce HTTPS over HTTP)
2020-05-14 10:33:09 +03:00
Neel Kamath
63ec3d120c
Update README.md (#1130) 2020-05-09 14:32:27 +03:00
Roman Hotsiy
a24142b3fa
chore: migrate yarn -> npm 2020-03-17 11:06:03 +02:00
Chris Faulkner
42696a01ba doc: fix some typos (#1117) 2019-12-10 08:13:37 +02:00
Roman Hotsiy
d78029a04e
chore: move repo to Redocly org 2019-06-04 15:47:22 +03:00
Julian
2013973d75 docs: Fixed docker README, added missing redocly repo name (#841) 2019-03-11 09:32:55 +02:00
DeBr0glie
1bbb0fe679 docker: Incorrect port after restart when PORT is 8080 (#776)
When PORT is 8080 and dokcer restart, nginx will listen 80808080
2019-01-10 10:06:51 +02:00
neumond
cfb6f0fde0 fix: allow docker container serving under non-root URLs (#731)
fixes #730
2018-12-11 15:27:12 +02:00
Roman Hotsiy
ebe8d3f68c
chore: use docker build hook to use Dockerfile from other location
[ci skip]
2018-11-06 16:56:56 +02:00
Roman Hotsiy
07b5e62897
chore: move Dockerfile to config/docker 2018-11-06 15:30:04 +02:00
Zach Pomerantz
cddfb12806 chore: Add Dockerfile for easier deployment (#427) 2018-06-25 14:10:29 +03:00