Skip to content

Commit

Permalink
DOC: feeds.yaml: fix HIBP nginx config
Browse files Browse the repository at this point in the history
the HIBP Enterprise feed snippet's nginx example configuration was
missing three additional whitespaces of indentation to be rendered as
code
  • Loading branch information
sebix committed Nov 28, 2021
1 parent 7ebb8e1 commit 74c5a64
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions intelmq/etc/feeds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1883,23 +1883,23 @@ providers:
A minimal nginx configuration could look like:
.. code-block::
server {
listen 443 ssl http2;
server_name [your host name];
client_max_body_size 50M;
ssl_certificate [path to your key];
ssl_certificate_key [path to your certificate];
location /[your private url] {
if ($http_authorization != '[your private password]') {
return 403;
}
proxy_pass http://localhost:5001/intelmq/push;
proxy_read_timeout 30;
proxy_connect_timeout 30;
}
}
server {
listen 443 ssl http2;
server_name [your host name];
client_max_body_size 50M;
ssl_certificate [path to your key];
ssl_certificate_key [path to your certificate];
location /[your private url] {
if ($http_authorization != '[your private password]') {
return 403;
}
proxy_pass http://localhost:5001/intelmq/push;
proxy_read_timeout 30;
proxy_connect_timeout 30;
}
}
bots:
collector:
module: intelmq.bots.collectors.api.collector_api
Expand Down

0 comments on commit 74c5a64

Please sign in to comment.