Skip to content
Snippets Groups Projects
Commit ec7a9d23 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

Blacklist git to keep LiU-IRT happy.

parent f7d3bd9f
Branches
Tags
No related merge requests found
...@@ -166,6 +166,15 @@ class knuth::userdomain { ...@@ -166,6 +166,15 @@ class knuth::userdomain {
enable => true, enable => true,
} }
nginx::resource::location { 'blacklist git':
server => 'default_server',
ssl => true,
location => '= /.git',
location_cfg_append => {
'return' => '403 Forbidden.',
}
}
nginx::resource::location { nginx::resource::location {
default: default:
server => 'default_server', server => 'default_server',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment