enclosed/rootfs/tmp/etc/nginx/nginx.conf
casjay 90dc720a05
🗃️ Committing everything that changed 🗃️
Dockerfile
rootfs/root/docker/setup/03-files.sh
rootfs/tmp/
rootfs/usr/local/etc/docker/init.d/99-nginx.sh
2024-09-12 18:25:28 -04:00

45 lines
1.9 KiB
Nginx Configuration File

user nginx;
worker_processes auto;
error_log /data/logs/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
default_type "text/html";
sendfile on;
keepalive_timeout 65;
server {
listen 80 default_server;
error_log /var/log/nginx/error.log info;
client_max_body_size 0;
keepalive_timeout 75 75;
send_timeout 3600;
proxy_http_version 1.1;
proxy_intercept_errors off;
proxy_buffering off;
proxy_request_buffering off;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
proxy_connect_timeout 3600;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Accept-Encoding "";
access_log /var/log/nginx/access.log combined;
error_log /var/log/nginx/error.log;
location / {
proxy_pass http://127.0.0.1:8000;
}
}}