• Resolved Weaper

    (@weaper)


    Hi, thanks for the great plugin!
    everything seems to have worked well aside from the access to the staging site itself.
    When I go to https://boichi.com/dev, I’m welcomed by a nginx 403 error.
    I’ve looked through the support forum but didn’t find any obvious resolution. Do you have any ideas of the steps to take as to resolve this issue?
    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    Hi,

    please check the permissions of the folder /dev should be 755 and belong to your site owner www-data or similar

    Are all wp files are located in the /dev folder including index.php?

    Also check if access to /dev is not forbidden by your nginx.conf

    Thread Starter Weaper

    (@weaper)

    the permissions are indeed at 755 but the /dev folder seems to be missing quite a few WP files.
    the only PHP files available in it are wp-settings, wp-login, wp-config, wp-config-sample, wp-comments-post.
    Should I rerun the plugin?

    Thread Starter Weaper

    (@weaper)

    I’ve rerun the plugin and all files are here
    the /dev folder has 755 permissions and it’s not forbidden by nginx.conf

    I no longer get a nginx 403 error but a simple 404 now.
    I can reach a login page by going to https://boichi.com/dev/wp-login.php but it simply redirect to the main site.

    I went through all I could and don’t know why it’s not working as intended.

    Plugin Author Rene Hermenau

    (@renehermi)

    Is your main wordpress site installed into a subfolder of your htdocs folder?
    If yes you need to activate the subfolder option of wp staging.

    Thread Starter Weaper

    (@weaper)

    all the WP files of the main site as well as the htdocs are in the server’s root.
    the staging is in its own /dev repo

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Nginx 403 Forbidden’ is closed to new replies.