1
24.1 Legacy Series / Caddy proxy plugin headers setup
« on: May 01, 2024, 01:51:16 pm »
Hello, anyone know how to set this options in the caddy proxy plugin inside opnsense like this nginx rules?:
Look attached image, i'm sure that is uncorrect
Code: [Select]
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 0;
proxy_buffering off;
proxy_request_buffering off;
add_header X-Frame-Options SAMEORIGIN;
autoindex off;
Look attached image, i'm sure that is uncorrect