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:
parent
4efa8823d2
commit
c8351dce29
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user