Hi, i'm stumped on this one, recently came back to check out progress since i love the look and feel of this software, but im having issues getting my fresh installation working.
my config files are as follows
nginx configuration (there is a static page one dir up from the installation
server {
listen 80;
server_name localhost;
root /var/www/html/;
index index.html index.htm index.php;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/html;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
include /var/www/html/forum/.nginx.conf;
}
php flarum info print out
Flarum core 0.1.0-beta.12
PHP version: 7.1.33
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, json, exif, mysqlnd, PDO, Phar, SimpleXML, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader, zip
+----------------------+----------------+--------+
| Flarum Extensions | | |
+----------------------+----------------+--------+
| ID | Version | Commit |
+----------------------+----------------+--------+
| flarum-approval | v0.1.0-beta.12 | |
| flarum-bbcode | v0.1.0-beta.12 | |
| flarum-emoji | v0.1.0-beta.12 | |
| flarum-lang-english | v0.1.0-beta.12 | |
| flarum-flags | v0.1.0-beta.12 | |
| flarum-likes | v0.1.0-beta.12 | |
| flarum-lock | v0.1.0-beta.12 | |
| flarum-markdown | v0.1.0-beta.12 | |
| flarum-mentions | v0.1.0-beta.12 | |
| flarum-statistics | v0.1.0-beta.12 | |
| flarum-sticky | v0.1.0-beta.12 | |
| flarum-subscriptions | v0.1.0-beta.12 | |
| flarum-suspend | v0.1.0-beta.12 | |
| flarum-tags | v0.1.0-beta.12 | |
+----------------------+----------------+--------+
My .nginx.conf file since that will probably be asked about.
` # Pass requests that don't refer directly to files in the filesystem to index.php
location / {
try_files $uri $uri/ /index.php?$query_string;
}
The following directives are based on best practices from H5BP Nginx Server Configs
Expire rules for static content
location ~* .(?:manifest|appcache|html?|xml|json)$ {
add_header Cache-Control "max-age=0";
}
location ~* .(?:rss|atom)$ {
add_header Cache-Control "max-age=3600";
}
location ~* .(?:jpg|jpeg|gif|png|ico|cur|gz|svg|mp4|ogg|ogv|webm|htc)$ {
add_header Cache-Control "max-age=2592000";
access_log off;
}
location ~* .(?:css|js)$ {
add_header Cache-Control "max-age=31536000";
access_log off;
}
location ~* .(?:ttf|ttc|otf|eot|woff|woff2)$ {
add_header Cache-Control "max-age=2592000";
access_log off;
}
Gzip compression
gzip on;
gzip_comp_level 5;
gzip_min_length 256;
gzip_proxied any;
gzip_vary on;
gzip_types
application/atom+xml
application/javascript
application/json
application/ld+json
application/manifest+json
application/rss+xml
application/vnd.geo+json
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/bmp
image/svg+xml
image/x-icon
text/cache-manifest
text/css
text/plain
text/vcard
text/vnd.rim.location.xloc
text/vtt
text/x-component
text/x-cross-domain-policy;
`
im on
Centos 7
Nginx
MariaDB
SELinux is disabled to fix file permission issues with centos untill i can get everything working and figgure out how to make it work right without disabling selinux
the logs are completely blank and i have no idea why.
acess log shows
192.168.1.1 - - [05/Apr/2020:02:45:28 -0400] "GET /forum/admin HTTP/1.1" 404 153 "http://NOPE/forum/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0" "-"