I've spend long time trying to fix myself this issue, but luck was not on my side.
Well. What we do we have? We have a Ubuntu server. Everybody (almost) have it now. It version 17.
What do we got else?
We got nginx server with php7.0 fpm attached to it.
We've got vbulletin 5 connect version 5.3.2 pointed to documents_root/Community path
We've got nginx vhost, maded by vbulletin manual. That host works with enforced ssl. VBulletin was installed on clean SSL, not migrated from HTTP.
After the installation it looks disaster. I was tryed to install it on Apache SSL also (just for lulz) - same story
That how it looks now:
I can assume that there is also something in nginx config, but probably, admincp doesn't work from default (on apache i got same result on clean host)
But anyway, here is nginx vhost conf:
I was added base_url with https into /core/included/config.php - doesn't gaved any result.
Admin CP also not avaible.
Need help!
Well. What we do we have? We have a Ubuntu server. Everybody (almost) have it now. It version 17.
What do we got else?
We got nginx server with php7.0 fpm attached to it.
We've got vbulletin 5 connect version 5.3.2 pointed to documents_root/Community path
We've got nginx vhost, maded by vbulletin manual. That host works with enforced ssl. VBulletin was installed on clean SSL, not migrated from HTTP.
After the installation it looks disaster. I was tryed to install it on Apache SSL also (just for lulz) - same story
That how it looks now:
I can assume that there is also something in nginx config, but probably, admincp doesn't work from default (on apache i got same result on clean host)
But anyway, here is nginx vhost conf:
Code:
# Default server configuration # server { listen 80 default_server; listen [::]:80 default_server; root /var/www/flap-pool.world/http/web; # Add index.php to the list if you are using PHP index index.html index.htm index.nginx-debian.html; server_name flap-pool.world; # enforce https return 301 https://$server_name$request_uri; } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name flap-pool.world www.flap-pool.world; root /var/www/flap-pool.world/html/web; index index.php index.html; access_log /var/log/nginx/fpw.app-access.log; error_log /var/log/nginx/fpw.app-error.log error; # allow larger file uploads and longer script runtimes client_body_buffer_size 1k; client_header_buffer_size 1k; client_max_body_size 100k; large_client_header_buffers 2 1k; sendfile off; # strengthen ssl security ssl_certificate /etc/ssl/certs/fpw.crt; ssl_certificate_key /etc/ssl/private/fpw.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; # configuration rules location = /Community/css\.php { rewrite ^ /Community/core/css.php break; } # make install available from presentation location ^~ /Community/install { rewrite ^/Community/install/ /Community/core/install/ break; } # any request to not existing item gets redirected through routestring location /Community/ { if (!-f $request_filename) { rewrite ^/Community/(.*)$ /index.php?routestring=$1 last; } } # make admincp available from presentation location ^~ /Community/admincp { if (!-f $request_filename) { rewrite ^/Community/admincp/(.*)$ /index.php?routestring=admincp/$1 last; } } # process any php scripts, not found gets redirected through routestring location ~ \.php$ { # handles legacy scripts if (!-f $request_filename) { rewrite ^/(.*)$ /index.php?routestring=$1 break; } fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_index index.php; fastcgi_pass php7; fastcgi_param SCRIPT_FILENAME $document_root/Community/$fastcgi_script_name; include fastcgi_params; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_intercept_errors on; fastcgi_ignore_client_abort off; fastcgi_connect_timeout 240; fastcgi_send_timeout 360; fastcgi_read_timeout 360; fastcgi_buffers 256 64k; fastcgi_buffer_size 256k; fastcgi_temp_file_write_size 1024k; } } upstream php7 { server unix:/var/run/php/php7.0-fpm.sock; }
Admin CP also not avaible.
Need help!
Comment