hello, I'm facing trouble with the nginx install, I've made a simple conf and i cannot make flarum working under nginx (I copied my files which works in local apache2), I'm totally new under nginx.
Can anybody see my error ? (simple php files works before copying local files)
`
server {
access_log /var/log/nginx/tall.log;
error_log /var/log/nginx/tallError.log error;
root /var/www/tall/public;
index index.php index.html index.htm;
server_name forum.triumphall.com;
auth_basic "Beta test";
auth_basic_user_file /etc/apache2/.htpasswd;
#location / {
# try_files $uri $uri/ =404;
#}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
}
include /var/www/tall/.nginx.conf;
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/forum.triumphall.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/forum.triumphall.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
`
Thank you.