tgadmin/nginx/nginx.conf

23 lines
491 B
Nginx Configuration File
Raw Permalink Normal View History

2024-07-25 12:19:15 +00:00
# nginx.conf
worker_processes 1;
events {
worker_connections 1024;
}
http {
server {
listen 80;
2024-07-29 11:23:51 +00:00
server_name localhost;
2024-07-25 12:19:15 +00:00
location / {
2024-07-29 11:23:51 +00:00
proxy_pass http://site:8004/;
2024-07-25 12:19:15 +00:00
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
}
}
}