mirror of
https://github.com/getredash/redash.git
synced 2026-03-22 01:00:14 -04:00
24 lines
405 B
Plaintext
24 lines
405 B
Plaintext
upstream rd_servers {
|
|
server 127.0.0.1:5000;
|
|
}
|
|
|
|
server {
|
|
|
|
server_tokens off;
|
|
|
|
listen 80 default;
|
|
|
|
access_log /var/log/nginx/rd.access.log;
|
|
|
|
gzip on;
|
|
gzip_types *;
|
|
gzip_proxied any;
|
|
|
|
location / {
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_pass http://rd_servers;
|
|
}
|
|
}
|