don't serve requests targetted at the ip address

dependabot/pip/cryptography-3.2
eric 2020-10-02 14:01:55 -04:00
parent 0e3935dd21
commit 82e4ddd1d6
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ Header always add Strict-Transport-Security "max-age=15768000"
<Directory /opt/regluit/deploy>
<Files prod.wsgi>
Require all granted
Require expr %{HTTP_HOST} -strcmatch "*{{ server_name }}"
</Files>
</Directory>