Join the community today
Become a Member

Xenforo IIS, NGINX, and Xenforo

Discussion in 'Forum software usage' started by Pope Viper, Jul 30, 2020.

  1. Pope Viper

    Pope Viper New Member

    2
    0
    1
    Jul 30, 2020
    Ratings:
    +0
    Local Time:
    1:35 PM
    I've run XF successfully for years, then life changes, etc, etc, got me away from it.


    I brought my 1.x forum back up, and decided to start fiddling around with it. Only difference was that I had brought NGINX into my world to provide subdomain url support.

    Well, I decided to spin up a 2.1 forum so I could see what changes were had, and what I needed to start working on. I was able to install, but what's killing me is that whenever I try to go to the admin area, it defaults to the local server IP rather than the board URL.

    I've tried everything I can think of, installing multiple times, to multiple directories, modifying the NGINX config, and I'm stumped, I'm willing to pay to get some assistance to figure out what the heck is going on with this.

    I would appreciate any guidance, and please let me know in a PM if you're interested in helping me one on one. I admit to being new at NGINX, and if need be, and if it will make my life easier, I'll stand up a stand alone Linux box to get this working again.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,931
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    4:35 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Are you running Centmin Mod LEMP stack ? This forum is for Centmin Mod LEMP stack users running Centmin Mod's own custom Nginx, PHP-FPM, MariaDB MySQL setup ? Centmin Mod Nginx has it's own Nginx rewrite rules for Xenforo 2.1 outlined at Xenforo - Updated Xenforo 2 Nginx Friendly Url Rules Configuration but these may differ from non-Centmin Mod Nginx servers. For non-Centmin Mod Nginx, you can see the official nginx setup in XF 2.1 docs at Options - XenForo 2 Manual
     
  3. Dnyan

    Dnyan Member

    106
    24
    18
    Sep 16, 2017
    Ratings:
    +36
    Local Time:
    12:05 AM
    1.17.8
    10.3.22
    Use Centminmod, its easy, simple, and you will always get a supports or a lot of thread already stating issues and solutions at here only.

    Just take backup of DB and directory, install cent OS 7, install centmin, restore backup and start configuring your setup.

    meanwhile you can also check .htaccess file for route issue (it may or may not cause trouble).
    You need to check your nginx host file configuration for your website where you can check for any misconfiguration.