mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-05-03 20:17:29 -05:00
40 lines
964 B
Nginx Configuration File
40 lines
964 B
Nginx Configuration File
user nginx;
|
|
worker_processes auto;
|
|
|
|
pid /var/run/nginx.pid;
|
|
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
log_format main '$remote_addr - $remote_user [$time_local] ($ssl_protocol '
|
|
'$ssl_cipher) $host "$request" $status $body_bytes_sent "$http_referer" '
|
|
'"$http_user_agent" $request_time';
|
|
|
|
access_log /var/log/nginx/access.log main;
|
|
access_log /dev/stdout main;
|
|
error_log /var/log/nginx/error.log info;
|
|
error_log /dev/stderr info;
|
|
|
|
sendfile on;
|
|
|
|
keepalive_timeout 65;
|
|
|
|
resolver 127.0.0.11 valid=600s;
|
|
|
|
ssl_certificate /etc/nginx/mitmproxy-certs/mitmproxy-ca-cert.pem;
|
|
ssl_certificate_key /etc/nginx/mitmproxy-certs/mitmproxy-ca.pem;
|
|
|
|
# The Wii U needs to connect using TLSv1.0
|
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
|
|
ssl_ciphers DEFAULT:ECDHE-RSA-AES128-SHA:@SECLEVEL=0;
|
|
|
|
include /etc/nginx/conf.d/*.conf;
|
|
}
|