don't serve requests targetted at the ip address
parent
0e3935dd21
commit
82e4ddd1d6
|
@ -44,6 +44,7 @@ Header always add Strict-Transport-Security "max-age=15768000"
|
||||||
<Directory /opt/regluit/deploy>
|
<Directory /opt/regluit/deploy>
|
||||||
<Files prod.wsgi>
|
<Files prod.wsgi>
|
||||||
Require all granted
|
Require all granted
|
||||||
|
Require expr %{HTTP_HOST} -strcmatch "*{{ server_name }}"
|
||||||
</Files>
|
</Files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue