OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: tkn-teamf on July 05, 2023, 08:40:20 PM

Title: Redirect all HTTP traffic to HTTPS with nginx plugin
Post by: tkn-teamf on July 05, 2023, 08:40:20 PM
My current nginx config (on some odroid) is:

server {
    listen 80;
    return 301 https://$host$request_uri;
}


The purpose is to redirect any http traffic to https.

How can I do this with OPNsense?