Move the docker-30 service definitions (gitea, kanidm, vault, zot, nginx, lab-proxy, maru-hleda-byt, fuj-management) into vms-home/ to match the naming convention used for other hosts, and add the new garage object-storage and frisbee-drills services alongside it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
46 lines
1.0 KiB
Nginx Configuration File
46 lines
1.0 KiB
Nginx Configuration File
# nginx.conf
|
|
|
|
error_log /dev/stderr;
|
|
|
|
http {
|
|
|
|
server {
|
|
listen 9080;
|
|
|
|
location / {
|
|
proxy_pass http://192.168.0.35:80;
|
|
proxy_set_header Host $host;
|
|
}
|
|
}
|
|
|
|
log_format detailed '$remote_addr - [$time_local] '
|
|
'"$request_method $host$request_uri" '
|
|
'$status $body_bytes_sent '
|
|
'"$http_referer" "$http_user_agent"';
|
|
|
|
access_log /dev/stdout detailed;
|
|
}
|
|
|
|
stream {
|
|
# Stream doesn't log by default, enable explicitly:
|
|
log_format stream_log '$remote_addr [$time_local] '
|
|
'$protocol $ssl_preread_server_name '
|
|
'$status $bytes_sent $bytes_received $session_time';
|
|
|
|
access_log /dev/stdout stream_log;
|
|
|
|
# Nginx ingress in kubernetes
|
|
server {
|
|
listen 9443;
|
|
proxy_pass 192.168.0.35:443;
|
|
}
|
|
|
|
# Gateway provided by cilium/envoy
|
|
server {
|
|
listen 9444;
|
|
proxy_pass 192.168.0.36:443;
|
|
}
|
|
}
|
|
|
|
|
|
events {} |