Difference between revisions of "Gitlab recipes"

From ElphelWiki
Jump to: navigation, search
(Created page with "==X-Frame-Options header== * Edit: ''/opt/gitlab/embedded/service/gitlab-rails/app/controllers/application_controller.rb'' in '''def default_headers''': -headers['X-Frame-Opt...")
(No difference)

Revision as of 12:54, 19 March 2017

X-Frame-Options header

  • Edit: /opt/gitlab/embedded/service/gitlab-rails/app/controllers/application_controller.rb in def default_headers:
-headers['X-Frame-Options'] = 'DENY'
+headers['X-Frame-Options'] = 'ALLOW-FROM https://www.elphel.com/'
  • Restart services
gitlab-ctl restart