mirror of
https://github.com/getredash/redash.git
synced 2026-03-23 13:00:10 -04:00
20 lines
387 B
Plaintext
20 lines
387 B
Plaintext
upstream rd_servers {
|
|
server 127.0.0.1:5000;
|
|
}
|
|
|
|
server {
|
|
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;
|
|
}
|
|
} |