1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-09 22:40:36 +00:00

disable server tokens, secure X-Frame-Options

This commit is contained in:
Mark Heiges 2016-04-21 12:47:32 -04:00
parent 4efa8823d2
commit c8351dce29
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,9 @@ server {
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
server_tokens off;
add_header X-Frame-Options SAMEORIGIN;
root {{ redmine_root_dir }}/public;
passenger_enabled on;
client_max_body_size 50M;

View File

@ -2,4 +2,4 @@
passenger_root /usr/share/ruby/vendor_ruby/phusion_passenger/locations.ini;
passenger_ruby /usr/local/rvm/gems/ruby-{{ ruby_version }}/wrappers/ruby;
passenger_instance_registry_dir /var/run/passenger-instreg;
passenger_show_version_in_header off;