21 lines
475 B
Text
21 lines
475 B
Text
|
server {
|
||
|
listen 80;
|
||
|
server_name my.ixvd.net;
|
||
|
|
||
|
set_real_ip_from 0.0.0.0/0;
|
||
|
real_ip_header X-Real-IP;
|
||
|
real_ip_recursive on;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://keycloak;
|
||
|
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||
|
proxy_set_header X-Forwarded-Port 443;
|
||
|
}
|
||
|
|
||
|
};
|