Jake Howard
92052a3d0a
This creates a simple base configuration skeleton, that other configuration can be easily loaded into.
16 lines
547 B
Nginx Configuration File
16 lines
547 B
Nginx Configuration File
log_format access '$remote_addr [$time_local] '
|
|
'$protocol $status $bytes_sent $bytes_received '
|
|
'$session_time "$ssl_preread_server_name" '
|
|
'"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"';
|
|
|
|
log_format ips '$remote_addr [$time_local] $ssl_preread_server_name';
|
|
|
|
access_log /var/log/nginx/access.log access;
|
|
access_log /var/log/nginx/ips.log ips;
|
|
|
|
server {
|
|
listen 443;
|
|
listen 8448;
|
|
proxy_pass {{ wireguard.clients.ingress.ip }}:8443;
|
|
proxy_protocol on;
|
|
}
|