sdrothrock
Member
Accessing the forum via IP makes everything work fine.
Accessing via domain name breaks several things:
1. Login sometimes does not work
2. Several CSS styles are missing (notably extras.css) or broken (forum fonts are smaller and do not match what they should be in the settings)
3. Trying to log in as admin always boots me back to the admin login screen
Whereas, logging in via IP allows me to use the forums normally, access the admin panel, etc. I did that to change the forum addresses (options, board information)
Any ideas? Running centminmod with nginx config:
Nothing useful is showing up in the nginx log.
The admin panel error log shows this, which has only started happening since switching to the domain:
Accessing via domain name breaks several things:
1. Login sometimes does not work
2. Several CSS styles are missing (notably extras.css) or broken (forum fonts are smaller and do not match what they should be in the settings)
3. Trying to log in as admin always boots me back to the admin login screen
Whereas, logging in via IP allows me to use the forums normally, access the admin panel, etc. I did that to change the forum addresses (options, board information)
Any ideas? Running centminmod with nginx config:
Code:
# Centmin Mod Getting Started Guide
# must read http://centminmod.com/getstarted.html
# redirect from non-www to www
# uncomment, save file and restart Nginx to enable
# if unsure use return 302 before using return 301
#server {
# listen 80;
# server_name mydomain.com;
# return 301 $scheme://mydomain.com$request_uri;
# }
server {
server_name mydomain.com www.mydomain.com *.mydomain.com IP LOADBALANCERIP;
#server_name _;
# ngx_pagespeed & ngx_pagespeed handler
#include /usr/local/nginx/conf/pagespeed.conf;
#include /usr/local/nginx/conf/pagespeedhandler.conf;
#include /usr/local/nginx/conf/pagespeedstatslog.conf;
# limit_conn limit_per_ip 16;
# ssi on;
access_log /home/nginx/domains/mydomain.com/log/access.log combined buffer=256k flush=60m;
error_log /home/nginx/domains/mydomain.com/log/error.log;
root /home/nginx/domains/mydomain.com/public;
ssi on;
location / {
# block common exploits, sql injections etc
#include /usr/local/nginx/conf/block.conf;
# Enables directory listings when index file not found
#autoindex on;
# Shows file listing times as local time
#autoindex_localtime on;
# Enable for vBulletin usage WITHOUT vbSEO installed
# More example Nginx vhost configurations at
# http://centminmod.com/nginx_configure.html
#try_files $uri $uri/ /index.php;
#
ssi on;
}
location /forums/ {
index index.php index.html index.htm;
try_files $uri $uri/ /forums/index.php?$uri&$args;
}
include /usr/local/nginx/conf/staticfiles.conf;
include /usr/local/nginx/conf/php.conf;
include /usr/local/nginx/conf/drop.conf;
#include /usr/local/nginx/conf/errorpage.conf;
include /usr/local/nginx/conf/vts_server.conf;
}
Nothing useful is showing up in the nginx log.
The admin panel error log shows this, which has only started happening since switching to the domain:
- Undefined index: language_id14 minutes ago - library/XenForo/Visitor.php:517
- Delete...
Undefined index: properties14 minutes ago - library/XenForo/Dependencies/Public.php:303- Delete...
Argument 2 passed to XenForo_Application::mapMerge() must be of the type array, boolean given, called in /home/nginx/domains/mydomain.com/public/forums/library/XenForo/Dependencies/Public.php on line 304 and defined14 minutes ago - library/XenForo/Application.php:1174- Delete...
Undefined index: language_id14 minutes ago - library/XenForo/Visitor.php:517- Delete...
Undefined index: properties14 minutes ago - library/XenForo/Dependencies/Public.php:303- Delete...
Argument 2 passed to XenForo_Application::mapMerge() must be of the type array, boolean given, called in /home/nginx/domains/mydomain.com/public/forums/library/XenForo/Dependencies/Public.php on line 304 and defined14 minutes ago - library/XenForo/Application.php:1174- Delete...
Undefined index: language_id14 minutes ago - library/XenForo/Visitor.php:517- Delete...
Undefined index: decimal_point14 minutes ago - library/XenForo/Locale.php:666- Delete...
Undefined index: thousands_separator14 minutes ago - library/XenForo/Locale.php:667- Delete...
Undefined index: decimal_point14 minutes ago - library/XenForo/Locale.php:666- Delete...
Undefined index: thousands_separator14 minutes ago - library/XenForo/Locale.php:667
Last edited: