Home Forums WordPress Plugins Hide My WP Nginx Configuration Add to Nginx config file to get all features of the plugi

This topic is: not resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11312
    Blinky82
    Post count: 1

    Hello, need some help here. Sorry if my question is already asked. Just need to know what to do in order to configure my nginx. It says:

    Nginx Configuration Add to Nginx config file to get all features of the plugin.

    Nginx config file usually located in /etc/nginx/nginx.conf or /etc/nginx/conf/nginx.conf
    You may need to re-configure the server whenever you change settings or activate a new theme or plugin.
    If you use sub-directory for WP block you should add that directory before all of below pathes (e.g. rewrite ^/wordpress/lib/(.) /wordpress/wp-includes/$1 or rewrite ^/wordpress/(.).php(.*) /wordpress/nothing_404_404)

    But is not clean (for me) what to do as steps. What to add and everything with that message. I run it on apache and there is no problems, but this is kind of hard. Any help will be welcome here. Need to hide some urls, that are common for a WP site. By the way the plugin is great.

    Here is from the debug report:

    Server Environment
    ============================================================
    PHP Version: 5.6.23
    Server Software: nginx/1.10.1
    WP Max Upload Size: 2 MB
    Server upload_max_filesize: 2M
    Server post_max_size: 8M
    WP Memory Limit: 40M
    WP Debug Mode: false
    CURL: false
    fsockopen: true

    Waiting for your reply.

    All the best, Blinky

    #11316
    Suman M.
    Post count: 12480

    Hi, if it’s Nginx server and WP single site then follow the steps below. (WP Multisite on Nginx is not supported)

    – goto HMWP >> ‘Start’ Tab >> ‘Medium Pripacy – More Compatibility’ scheme >> click ‘Save Settings’

    – In Start tab you should see Nginx Configuration button. If you don’t see this button, add &nginx_config=1 to HMWP settings page URL to see Nginx rewrite rules. For example:
    http://yourdomain.com/wp-admin/options-general.php?page=hide_my_wp&nginx_config=1

    – Now add those lines (rewrite rules) to your Nginx configuration file. It’s usually located in /etc/nginx/nginx.conf or /etc/nginx/conf/nginx.conf or /etc/nginx/sites-available/domainname.com

    – restart nginx server

    We hope it’s clear enough now. Please let us know if it’s still the issue.

    #11325
    Blinky82
    Post count: 1

    Thanks a lot. Will try it on monday and let you know if there is something wrong, but I thinks is glean enough for me. 🙂 All the best.

    #11333
    Suman M.
    Post count: 12480

    Alright! Let us know.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.