mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-27 01:20:55 +00:00
60 lines
663 B
Plaintext
60 lines
663 B
Plaintext
# ------------------------------------------------------------
|
|
# overview.loki
|
|
# ------------------------------------------------------------
|
|
|
|
|
|
|
|
map $scheme $hsts_header {
|
|
https "max-age=63072000; preload";
|
|
}
|
|
|
|
server {
|
|
set $forward_scheme http;
|
|
set $server "host.docker.internal";
|
|
set $port 1337;
|
|
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
|
|
server_name overview.loki;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
access_log /data/logs/proxy-host-3_access.log proxy;
|
|
error_log /data/logs/proxy-host-3_error.log warn;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Proxy!
|
|
include conf.d/include/proxy.conf;
|
|
}
|
|
|
|
|
|
# Custom
|
|
include /data/nginx/custom/server_proxy[.]conf;
|
|
}
|
|
|