Add an nginx container to do crazy things with traefik

This commit is contained in:
Jake Howard
2022-01-16 14:08:29 +00:00
parent d5c7d94ac8
commit 6c0314b758
5 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# NOTE: Use `$http_x_forwarded_host` intead of `$host`.
server {
listen 80 default_server;
# Get IP correctly
real_ip_header X-Forwarded-For;
set_real_ip_from 0.0.0.0/0;
# Allow everything through by default
location / {
return 200;
}
}