Forum Discussion

delassiops's avatar
delassiops
Icon for Nimbostratus rankNimbostratus
Aug 06, 2022

F5 SSL Offload behind Nginx Reverse Proxy

Hi,

i have nginx open source listening on http 80 port, i went to use it behind f5 with ssl offloading, how to configure the f5 virtual host with pools or F5 Application Services Templates,

Thanks,

My nginx.conf file

server {
listen 80;
server_name test.lab.dev;

location / {
try_files $uri $uri @test;
}

location @test {
proxy_pass http://127.0.0.1:8080;
# Pass the client informations the the backend
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;

# By default we dont want redirect it
proxy_redirect off;

# Cache
proxy_buffering off;
proxy_cache off;

}
}

 

 

 

  • you will configure pool member with reverse proxy IP:Port then you will configure VS with client side SSL profile, Auotmap, X-Forward HTTP Profile and map VS to this pool .

  • you will configure pool member with reverse proxy IP:Port then you will configure VS with client side SSL profile, Auotmap, X-Forward HTTP Profile and map VS to this pool .