gru/docker/files/nginx.conf.j2
2023-07-07 06:38:14 +05:30

14 lines
286 B
Django/Jinja

server {
listen 80;
server_name {{ http_host }};
location / {
proxy_set_header Host $host:$server_port;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://localhost:{{ host_port }};
}
}