nginx-s3/overlay/etc/nginx/nginx.conf
Robert Kaussow 081e7d2f41
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore: move pid file to /var/tmp/nginx and fix http proxy_pass
2023-09-25 22:44:48 +02:00

30 lines
543 B
Nginx Configuration File

worker_processes 1;
pid /var/tmp/nginx/nginx.pid;
error_log stderr error;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
server_tokens off;
access_log off;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
map $request_uri $request_path {
default $request_uri;
~/$ ${request_uri}index.html;
}
include /etc/nginx/conf.d/vhosts.conf;
}