• Resolved softwarexpert

    (@softwarexpert)


    Good evening,I need insert this code about digital products but I don’t know where in my site with this URL: https://massimo.tech/wp-admin/admin.php?page=wc-settings&tab=products

    # Proteggi la cartella di caricamento di WooCommerce dall’accesso diretto.
    # Potresti voler cambiare questa configurazione se stai usando il metodo “X-Accel-Redirect/X-Sendfile” o “Forza download” per i prodotti scaricabili.
    # Posiziona questa configurazione verso la fine del blocco “server” nella configurazione NGINX.
    posizione ~* /wp-content/uploads/woocommerce_uploads/ {
    se ( $upstream_http_x_accel_redirect = “” ) {
    ritorno 403;
    }
    interno;
    }

    thanks in advance
    Best Regards
    Massimo Fornara

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Saif

    (@babylon1999)

    Hello @softwarexpert,

    Thank you for providing the documentation link.

    This should be added in the Nginx config file but I’m not sure what’s the file’s path. Also, your host might have a special configuration that doens’t allow you to edit the file easily.

    I highly recommend you reach out to them about this.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘NGINX Configuration’ is closed to new replies.