Closed ghost closed 4 years ago
# php flarum info
Flarum core 0.1.0-beta.13
PHP version: 7.4.6
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, imap, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache
+----------------------------------+-------------------+--------+
| Flarum Extensions | | |
+----------------------------------+-------------------+--------+
| ID | Version | Commit |
+----------------------------------+-------------------+--------+
| flarum-approval | v0.1.0-beta.13 | |
| flarum-flags | v0.1.0-beta.13 | |
| flarum-likes | v0.1.0-beta.13 | |
| flarum-lock | v0.1.0-beta.13 | |
| flarum-markdown | v0.1.0-beta.13 | |
| flarum-mentions | v0.1.0-beta.13 | |
| flarum-sticky | v0.1.0-beta.13 | |
| flarum-subscriptions | v0.1.0-beta.13 | |
| flarum-suspend | v0.1.0-beta.13 | |
| flarum-tags | v0.1.0-beta.13 | |
| flarum-emoji | v0.1.0-beta.13 | |
| flarum-lang-english | v0.1.0-beta.13 | |
| fof-terms | 0.4.2 | |
| fof-transliterator | 0.2.0 | |
| fof-pages | 0.4.0 | |
| fof-user-directory | 0.3.4 | |
| fof-merge-discussions | 0.3.3 | |
| flagrow-ads | 0.2.4 | |
| fof-best-answer | 0.1.7 | |
| fof-drafts | 0.1.5 | |
| fof-links | 0.3.0 | |
| fof-user-bio | 0.1.3 | |
| v17development-seo | 1.2 | |
| fof-follow-tags | 0.3.4 | |
| fof-socialprofile | 0.1.2 | |
| fof-subscribed | 0.2.3 | |
| fof-formatting | 0.1.4 | |
| flarum-auth-github | v0.1.0-beta.13 | |
| fof-recaptcha | 0.1.2 | |
| saleksin-auth-google | v0.1.0-beta.8.0.3 | |
| flarum-auth-facebook | v0.1.0-beta.13 | |
| fof-auth-discord | 0.1.3 | |
| flarum-auth-twitter | v0.1.0-beta.13 | |
| fof-polls | 0.1.2 | |
| fof-byobu | 0.5.0 | |
| flagrow-analytics | 0.8.0 | |
| fof-geoip | 0.1.7 | |
| flarum-bbcode | v0.1.0-beta.12 | |
| fof-upload | 0.9.1 | |
| flarum-pusher | v0.1.0-beta.13 | |
| isaced-email-verification-switch | 0.1.3 | |
| fof-realtimedate | 0.1.2 | |
| tolgaaaltas-turkish | 0.13.2 | |
| tolgaaaltas-lang-turkish | 0.13.0 | |
| fof-profile-image-crop | 0.1.1 | |
| flarum-statistics | v0.1.0-beta.13 | |
| clarkwinkelmann-circle-groups | 0.2.1 | |
| therealsujitk-gifs | v1.4.8 | |
| zerosonesfun-hashtags | 2.0.1 | |
| askvortsov-moderator-warnings | v0.1.6 | |
| fof-spamblock | 0.2.2 | |
| fof-share-social | 0.1.2 | |
| nomiscz-auth-steam | v0.1.7 | |
| the-turk-password-strength | 0.1.3 | |
| therealsujitk-show-password | v1.0.3 | |
| fof-nightmode | 0.4.0 | |
| the-turk-diff | 1.0.7 | |
| bokt-redis | 0.1.0 | |
| fof-sitemap | 0.4.0 | |
| the-turk-extended-appearance | 0.1.1 | |
| askvortsov-categories | v1.0.1 | |
+----------------------------------+-------------------+--------+
Base URL: https://forum.sourceturk.net
Installation path: /var/www/sourceturk/flarum
Debug mode: off
For some reason it cannot access the file in assets/files; did you change anything in your htaccess or server configuration that might have done that?
This is my nginx settings. Is there a problem with the settings?
server {
listen 80;
listen [::]:80;
root /var/www/sourceturk/flarum/public;
index index.php index.html index.htm;
server_name forum.sourceturk.net;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~ /\.
{
deny all;
}
location = /favicon.ico
{
log_not_found off;
access_log off;
}
location = /robots.txt
{
log_not_found off;
access_log off;
allow all;
}
location = /sitemap.xml
{
try_files $uri $uri/ /index.php?$query_string;
}
include /var/www/sourceturk/flarum/.nginx.conf;
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl on;
ssl_certificate /etc/ssl/certs/cert.pem;
ssl_certificate_key /etc/ssl/private/key.pem;
ssl_client_certificate /etc/ssl/certs/cloudflare.crt;
}
The file does not download when cloudflare js chal is open. The problem was solved when I closed js chal. How can we set the file download when js chal is open?
do you mean javascript challenge ?
Ideally if you're using Cloudflare, you should setup your host in a way that the hostname resolves to localhost, and make sure your HTTPS certificate validates locally by being public or with a local key chain. That way the internal proxying can be done locally without your server making requests to itself through Cloudflare.
Closing this because of inactivity. Feel free to re-open if you still require assistance. Thanks.