Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/graylog/server/server.conf
- ....
- ....
- rest_listen_uri = http://127.0.0.1:9000/api/
- web_listen_uri = http://127.0.0.1:9000/
- elasticsearch_discovery_zen_ping_unicast_hosts = 127.0.0.1:9300
- elasticsearch_network_host = 127.0.0.1
- /etc/nginx/nginx.conf
- ...
- ...
- location / {
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header Host $http_host;
- proxy_set_header X-Graylog-Server-URL https://usdsb.nwk.jwm2.net/api;
- proxy_pass http://localhost:9000;
- }
- location /api {
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header Host $http_host;
- proxy_pass http://localhost:9000;
- }
Advertisement
Add Comment
Please, Sign In to add comment