Get the most out of your Centmin Mod LEMP stack
Become a Member

Wordpress Whitelist OneSignal - Free Web Push Notifications plugin in your wpsecure.conf file

Discussion in 'Blogs & CMS usage' started by Saumya Majumder, Dec 30, 2016.

  1. Saumya Majumder

    Saumya Majumder Member

    60
    3
    8
    Mar 16, 2016
    Ratings:
    +12
    Local Time:
    1:31 PM
    1.9.12
    10.0.24
    Hi,
    Today I've installed OneSignal - Free Web Push Notifications on my wordpress site and and it seems it is needed to be whitelisted in the wpsecure.conf file to actually work. So, I manually have to update that and restart nginx to make it work.

    Code:
    # Whitelist Exception for https://wordpress.org/plugins/onesignal-free-web-push-notifications//
    location ~ ^/wp-content/plugins/onesignal-free-web-push-notifications/ {
      include /usr/local/nginx/conf/php.conf;
    }
    
    Please add this to your default wordpress plugin whitelist script so that other people don't face this issue.
     
    • Informative Informative x 2
  2. eva2000

    eva2000 Administrator Staff Member

    28,935
    6,567
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,747
    Local Time:
    6:01 PM
    Nginx 1.13.x
    MariaDB 5.5
    cheers thanks for the heads up :D
     
  3. Saumya Majumder

    Saumya Majumder Member

    60
    3
    8
    Mar 16, 2016
    Ratings:
    +12
    Local Time:
    1:31 PM
    1.9.12
    10.0.24
    No problemo :D